public IHttpActionResult UpdateJobEquipment([FromBody] JobEquipment jobEquipment) { try { _jobEquipmentService.UpdateJobEquipment(jobEquipment); return(Ok()); } catch (System.Exception e) { return(InternalServerError(e)); } }
public bool UpdateJobEquipment(JobEquipment jobEquipment) { this._unitOfWork.JobRepository <JobEquipment>().Update(jobEquipment); return(false); }
public bool SaveJobEquipment(JobEquipment jobEquipment) { this._unitOfWork.JobRepository <JobEquipment>().Insert(jobEquipment); return(false); }