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>();
 }
Exemple #3
0
 public DeleteModel(Service.Data.ServiceContext context)
 {
     _context = context;
 }
Exemple #4
0
 public IndexModel(Service.Data.ServiceContext context)
 {
     _context = context;
 }
 public CreateModel(Service.Data.ServiceContext context)
 {
     _context = context;
 }