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