public HAWBManagementService(IHAWBRepository hawbRepository, IHAWBItemRepository hawbItemRepository, IHAWBBoxRepository hawbBoxRepository, IUserRepository userRepository) { _hawbRepository = hawbRepository; _hawbItemRepository = hawbItemRepository; _hawbBoxRepository = hawbBoxRepository; _userRepository = userRepository; }
public GETSWebService() { IGGGETSAppUnitOfWork context = GetUnitOfWork();//上下文 ITraceManager traceManager = GetTraceManager();//跟踪管理器 _hawbRepository = new HAWBRepository(context, traceManager);//创建DAL操作对象 _packageRepository = new PackageRepository(context, traceManager); _mawbRepository = new MAWBRepository(context, traceManager); }
public PackageManagementService(IPackageRepository packageRepository,IHAWBRepository hawbRepository) { _packageRepository = packageRepository; _hawbRepository = hawbRepository; }
public FlightManagementService(IFlightRepository flightRepository, IHAWBRepository hawbRepository) { _flightRepository = flightRepository; _hawbRepository = hawbRepository; }
public MAWBManagementService(IMAWBRepository mawbRepository, IHAWBRepository hawbRepository) { _mawbRepository = mawbRepository; _hawbRepository = hawbRepository; }