public bool Put(int id, [FromBody] SubCategoryMasterEntity cityMasterEntity) { if (id > 0) { return(_cityMasterServices.UpdateSubCategory(id, cityMasterEntity)); } return(false); }
public int Post([FromBody] SubCategoryMasterEntity cityMasterEntity) { return(_cityMasterServices.CreateSubCategory(cityMasterEntity)); }