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