public FormResponseTO Update(FormResponseTO Entity) { if (Entity is null) { throw new Exception(); } return(evaluationContext.FormResponse.Update(Entity.ToEF()).Entity.ToTransfertObject()); }
public bool Remove(FormResponseTO entity) { try { evaluationContext.FormResponse.Remove(entity.ToEF()); return(true); } catch (Exception) { throw; } }
public FormResponseTO Add(FormResponseTO Entity) { return(evaluationContext.FormResponse.Add(Entity.ToEF()).Entity.ToTransfertObject()); }