示例#1
0
 public StoreBusinessLogic()
 {
     _repo            = new StoreRepository();
     _userbusiness    = new UserBusinessLogic();
     _country         = new CountryRepository();
     _city            = new CityRepository();
     _district        = new DistrictRepository();
     _productbusiness = new ProductBusinessLogic();
     _mess            = new MessageBusinessLogic();
 }
示例#2
0
 public OrderBusinessLogic()
 {
     _repo     = new OrderRepository();
     _user     = new UserRepository();
     _detail   = new OrderDetailRepository();
     _product  = new ProductRepository();
     _country  = new CountryRepository();
     _city     = new CityRepository();
     _district = new DistrictRepository();
     _message  = new MessageBusinessLogic();
     _shipper  = new ShipperRepository();
 }