public EditModel(Service.Data.ServiceContext context) { _context = context; Products = _context.Products.ToList(); Locations = _context.Locations.ToList(); StokPositions = _context.StokPositions.ToList(); }
public CreateModel(Service.Data.ServiceContext context) { _context = context; Products = _context.Products.ToList(); Locations = _context.Locations.ToList(); StokPositions = _context.StokPositions.ToList(); //SelectedChecks = new List<string>(); //SelectedProductIds = new List<int>(); //SelectedQuatities = new List<int>(); }
public DeleteModel(Service.Data.ServiceContext context) { _context = context; }
public IndexModel(Service.Data.ServiceContext context) { _context = context; }
public CreateModel(Service.Data.ServiceContext context) { _context = context; }