public bool DeleteStaff([FromBody] long staffInfoId) { bool result = false; try { if (staffInfoId > 0) { result = _staffService.DeleteStaffIdById(staffInfoId); } } catch (Exception ex) { throw new Exception(ex.Message); } return(result); }
public bool DeleteStaff([FromBody] long staffInfoId) { bool result = false; try { if (staffInfoId > 0) { result = _staffService.DeleteStaffIdById(staffInfoId); } } catch (Exception ex) { throw new Exception(ex.Message); } return(result); }