Exemple #1
0
 public IHttpActionResult CreateDvd([FromUri] string ScanCode, [FromUri] string Title)
 {
     return(Ok(UpcDvd.CreateDvd(ScanCode, Title)));
 }
Exemple #2
0
 public IHttpActionResult GetDvdScanInfosFromTitle(string Title)
 {
     return(Ok(UpcDvd.GetDvdScanInfosFromTitle(Title)));
 }
Exemple #3
0
        public IHttpActionResult GetDvdScanInfos(string Title, string Summary, string Since)
        {
            DateTime?dttm = string.IsNullOrEmpty(Since) ? (DateTime? )null : DateTime.Parse(Since);

            return(Ok(UpcDvd.QueryDvdScanInfos(Title, Summary, dttm)));
        }
Exemple #4
0
 public IHttpActionResult GetFullDvdScanInfo(string ScanCode)
 {
     return(Ok(UpcDvd.GetFullDvdScanInfo(ScanCode)));
 }