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