Exemplo n.º 1
0
        public ActionResult Index()
        {
            var user = new SafetyInventoryEntities();

            return(View(from c in user.AspNetUsers
                        select c));
        }
Exemplo n.º 2
0
 public UnitOfWork(SafetyInventoryEntities context)
 {
     _context = context;
     Products = new ProductRepository(_context);
 }
Exemplo n.º 3
0
 public ProductRepository(SafetyInventoryEntities context)
 {
     _context = context;
 }