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)); }