Some error handling and ensure we are an admin to delete requests.

Also started on the approval of everything
This commit is contained in:
tidusjar 2016-03-08 14:26:26 +00:00
parent 2935bee30d
commit 0942bfcbcc
18 changed files with 436 additions and 58 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Security.Cryptography;
using Dapper.Contrib.Extensions;
@ -20,7 +21,8 @@ namespace PlexRequests.Store
public string RequestedBy { get; set; }
public DateTime RequestedDate { get; set; }
public bool Available { get; set; }
public IssueState Issues { get; set; }
public string OtherMessage { get; set; }
}
public enum RequestType
@ -28,4 +30,13 @@ namespace PlexRequests.Store
Movie,
TvShow
}
public enum IssueState
{
WrongAudio,
NoSubtitles,
WrongContent,
PlaybackIssues,
Other
}
}