// GET: Customer public ActionResult Index() { using (var tx = uow.BeginTransaction()) { var listitem = uow.GetRepository <Customer>().All().ToList(); return(View(listitem)); } }
// GET: Customer public ActionResult Index() { using (var tx = uow.BeginTransaction()) { var listitem = uow.GetRepository <Customer>().All().ToList(); return(View(listitem)); } }