public bool Put(int id, [FromBody] CategoryMasterEntity cityMasterEntity) { if (id > 0) { return(_cityMasterServices.UpdateCategory(id, cityMasterEntity)); } return(false); }
public int Post([FromBody] CategoryMasterEntity cityMasterEntity) { return(_cityMasterServices.CreateCategory(cityMasterEntity)); }