public bool Put(int id, [FromBody] CityMasterEntity cityMasterEntity) { if (id > 0) { return(_cityMasterServices.UpdateCity(id, cityMasterEntity)); } return(false); }
public int Post([FromBody] CityMasterEntity cityMasterEntity) { return(_cityMasterServices.CreateCity(cityMasterEntity)); }