public List <Data.Label> GetCartonLabels() { using (var context = new CartonLabelDbContext()) { return(context.Labels.ToList()); } }
public List <Part> GetPartNoes() { using (var context = new CartonLabelDbContext()) { return(context.Parts.ToList()); } }
public CartonLabelService() { _context = new CartonLabelDbContext(); }