// PUT: api/PJ/5 public void Put(int id, [FromBody] B_PJ value) { pjService.Update(id, value); }
public bool Update(int id, H_PJ entity) { return(pJService.Update(id, (Mapper <H_PJ, B_PJ> .Map(entity)))); }
public bool Update(int id, H_PJ entity) { return(pJService.Update(id, entity.ToBusiness())); }