Beispiel #1
0
 public JsonResult Entrada(LancamentoViewModel model)
 {
     try
     {
         _lancamentoService.Entrada(_lancamentoMapper.Mapear(model));
         return(Json("sucesso"));
     }
     catch (Exception ex)
     {
         return(Json(ex.Message));
     }
 }