Esempio n. 1
0
 public IHttpActionResult Post(Cuenta cuenta)
 {
     try
     {
         var mng = new CuentaManager();
         mng.Create(cuenta);
         apiResp = new ApiResponse();
         return(Ok(apiResp));
     }
     catch (BussinessException bex)
     {
         return(InternalServerError(new Exception(bex.ExceptionId + "-"
                                                  + bex.AppMessage.Message)));
     }
 }