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