public RecentOrdersModel(IPizzaBoxRepository PBrepository) { _PBrepository = PBrepository; my_orders = GetAllOrders().Count(); if (my_orders < 1) { none = true; return; } O = new Orders[my_orders]; OT = new Ordertype[my_orders]; ids = new long[my_orders]; InitOOTIDS(); MapOrderResults(); }
public ShopHistoryModel(IPizzaBoxRepository PBrepository, string id) { _PBrepository = PBrepository; shop_orders = GetStoreOrders(id).Count(); shopid = id; if (shop_orders < 1) { none = true; return; } O = new Orders[shop_orders]; OT = new Ordertype[shop_orders]; ids = new long[shop_orders]; InitOOTIDS(); MapOrderResults(); }
public OrderController(IPizzaBoxRepository repository) { _repository = repository; }
public OrderController(IPizzaBoxRepository PBrepository) { _PBrepository = PBrepository; }
public LocationController(IPizzaBoxRepository db) { this.db = db; }
public LoginController(IPizzaBoxRepository repository) { _repository = repository; }
public RepoTest(IPizzaBoxRepository PBrepository) { _PBrepository = PBrepository; }
public HomeController(IPizzaBoxRepository PBrepository, ILogger <HomeController> logger) { _PBrepository = PBrepository; _logger = logger; }
public StoreController(IPizzaBoxRepository PBrepository) { _PBrepository = PBrepository; }