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);
        }
        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();
 }
 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();
 }
 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();
 }