public string RenameCategory(string newCategoryName, int id) { // Check category name is unique if (shopBL.RenameCategory(newCategoryName, id)) { return("titletaken"); } // Get DTO return("ok"); }
public string RenameCategory(string newCategoryName, int id) { // Check category name is unique if (shopBL.RenameCategory(newCategoryName, id)) { return("titletaken"); } // Get DTO return("ok"); }