public string CheckExistCateValue(CategoryValueModel model) { if (model == null) { return("Model is null"); } return(res.CheckExistCateValue(model.Category.ToString(), model.Name) ? "Name is exists!" : "OK"); }