コード例 #1
0
        public DocumentService(IUnitOfWork uow)
        {
            unitOfWork = uow;
            mapper     = new MapperService();
            var dataTablePagingService = new DocumentPagingService(unitOfWork);

            dataTableService = new DataTableService <Document>(dataTablePagingService);
        }
コード例 #2
0
        public TicketService(IUnitOfWork uow)
        {
            this.uow = uow;
            mapper   = new MapperService();

            var dataTablePagingService = new TicketPagingService(uow);

            dataTableService = new DataTableService <Ticket>(dataTablePagingService);
        }
コード例 #3
0
        public TicketVerificationService(IUnitOfWork unitOfWork, ITicketService ticketService)
        {
            this.unitOfWork    = unitOfWork;
            this.ticketService = ticketService;
            mapper             = new MapperService();
            var dataTablePagingService = new TicketVerificationPagingService(unitOfWork);

            dataTableService = new DataTableService <TicketVerification>(dataTablePagingService);
        }
コード例 #4
0
        public UserService(IUnitOfWork uow, IMailService mailService)
        {
            this.uow         = uow;
            mapper           = new MapperService();
            this.mailService = mailService;
            var dataTablePagingService = new UserPagingService(uow);

            dataTableService = new DataTableService <User>(dataTablePagingService);
        }
コード例 #5
0
 public PriceListService(IUnitOfWork uow)
 {
     this.uow = uow;
     mapper   = new MapperService();
 }
コード例 #6
0
 public CarrierService(IUnitOfWork uow)
 {
     this.uow         = uow;
     mapper           = new MapperService();
     carrierValidator = new CarrierValidator();
 }
コード例 #7
0
 public PrivilegeService(IUnitOfWork uow)
 {
     this.uow           = uow;
     mapper             = new MapperService();
     privilegeValidator = new PrivilegeValidator();
 }
コード例 #8
0
 public StationService(IUnitOfWork uow)
 {
     this.uow         = uow;
     mapper           = new MapperService();
     stationValidator = new StationValidator();
 }
コード例 #9
0
 public TicketTypeService(IUnitOfWork unitOfWork)
 {
     this.unitOfWork     = unitOfWork;
     mapper              = new MapperService();
     ticketTypeValidator = new TicketTypeValidator();
 }
コード例 #10
0
 public PrivilegeService(IUnitOfWork uow)
 {
     this.uow = uow;
     mapper   = new MapperService();
 }
コード例 #11
0
        public RouteService(IUnitOfWork uow)
        {
            unitOfWork = uow;

            mapper = new MapperService();
        }
コード例 #12
0
 public AreaService(IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     mapper          = new MapperService();
 }
コード例 #13
0
 public TransportService(IUnitOfWork uow)
 {
     this.uow = uow;
     mapper   = new MapperService();
 }