public async Task <IHttpActionResult> CuentaContablePartidasPorArea() { try { IdentityUser user = await UserManager.FindByIdAsync(User.Identity.GetUserId()); var model = service.ListarCuentasContables(user.Id); if (model != null) { return(Ok(model)); } else { return(NotFound()); } } catch (Exception ex) { return(InternalServerError(ex)); } }