Example #1
0
 public RespostaViewModel Update(RespostaViewModel obj)
 {
     BeginTransaction();
     _respostaService.Update(Mapper.Map <RespostaViewModel, Resposta>(obj));
     Commit();
     return(obj);
 }
 public void Update(RespostaViewModel respostaViewModel)
 {
     _respostaService.Update(Mapper.Map <RespostaViewModel, Resposta>(respostaViewModel));
 }