예제 #1
0
        public FormResponseTO Update(FormResponseTO Entity)
        {
            if (Entity is null)
            {
                throw new Exception();
            }

            return(evaluationContext.FormResponse.Update(Entity.ToEF()).Entity.ToTransfertObject());
        }
예제 #2
0
 public bool Remove(FormResponseTO entity)
 {
     try
     {
         evaluationContext.FormResponse.Remove(entity.ToEF());
         return(true);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #3
0
 public FormResponseTO Add(FormResponseTO Entity)
 {
     return(evaluationContext.FormResponse.Add(Entity.ToEF()).Entity.ToTransfertObject());
 }