示例#1
0
 public ActionResult CreateCatelogue(CatalogueDTO catalog)
 {
     try
     {
         string message = CatalogueDAO.CreateCatalogue(catalog);
         return(Ok(message));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }
 public static long CreateCatalogueDetaills(Inventory catalogue)
 {
     return(CatalogueDAO.CreateCatalogue(catalogue));
 }