示例#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());
 }