public void Delete(Engaged engaged) { var address = engaged.MakingOf; Delete(engaged.Id); if (address != null) { _addressServices.Delete(address); } }
public Engaged Update(Engaged value) { _engagedBusiness.Update(value); return(value); }
public Engaged Create(Engaged value) { return(_engagedBusiness.Create(value)); }
public Engaged Update(Engaged value) { _engagedRepository.Update(value); return(value); }
public Engaged Create(Engaged value) { return(_engagedRepository.Create(value)); }
public void Delete(Engaged engaged) { Delete(engaged); }
public void InvokeEngaged(float coefficient) { Engaged?.Invoke(coefficient); }
[HttpPut]// api/Engaged/5 public Engaged Put([FromBody] Engaged value) { return(_engagedServices.Update(value)); }
[HttpPost]//Engaged public void Post([FromBody] Engaged value) { _engagedServices.Create(value); }