public bool Put(int id, [FromBody] HospitalMasterEntity hspMasterEntity) { if (id > 0) { return(_hspMasterServices.UpdateUser(id, hspMasterEntity)); } return(false); }
public int Post([FromBody] HospitalMasterEntity hspMasterEntity) { return(_hspMasterServices.CreateUser(hspMasterEntity)); }