Exemplo n.º 1
0
        public virtual PartialViewResult Details(int id)
        {
            var Transaction = _transactionBusiness.FindDetails(id);

            //if (Transaction == null)
            //    return View(MVC.Shared.Views.Error);
            return(PartialView(MVC.Transaction.Views.Partials._Form, new ActionResponse <Transaction>
            {
                IsSuccessful = Transaction != null,
                Result = Transaction
            }));
        }