예제 #1
0
 public IHttpActionResult newmanifest()
 {
     try
     {
         return(Ok(context.GetNewManifest()));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }
예제 #2
0
 public IHttpActionResult GetManifestCount()
 {
     try
     {
         UOWManifest mancontext = new UOWManifest();
         return(Ok(mancontext.GetNewManifest()));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }