Example #1
0
 public EffortOperationService(IMapper mapper,
                               IUnitOfWork unitOfWork,
                               ITypedCacheService <EffortOperationModel, long> cache,
                               IEffortOperationRepository repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
        public TicketService(
            IMapper mapper,
            IUnitOfWork unitOfWork,
            ITypedCacheService <TicketModel, long> cache,
            ITicketRepository repository,
            IEffortOperationRepository effortOperationRepository,
            IEffortOperationService effortOperationService,
            IInventoryOperationRepository inventoryOperationRepository,
            IInventoryOperationService inventoryOperationService,
            IInventoryService inventoryService,
            ITypedCacheService <EffortOperationModel, long> effortOperationModelCache,
            ITypedCacheService <InventoryOperationModel, long> inventoryOperationModelCache,
            ITypedCacheService <InventoryModel, long> inventoryModelCache)
            : base(mapper, unitOfWork, cache, repository)
        {
            this._effortOperationRepository    = effortOperationRepository;
            this._effortOperationService       = effortOperationService;
            this._inventoryOperationRepository = inventoryOperationRepository;
            this._inventoryOperationService    = inventoryOperationService;
            this._inventoryService             = inventoryService;

            this._effortOperationModelCache    = effortOperationModelCache;
            this._inventoryOperationModelCache = inventoryOperationModelCache;
            this._inventoryModelCache          = inventoryModelCache;
        }
 public InventoryService(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <InventoryModel, long> cache,
     IInventoryRepository repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
 public MaterialService(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <MaterialModel, long> cache,
     IGenericRepository <MaterialEntity, long> repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
 public ClientService(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <ClientModel, long> cache,
     IGenericRepository <ClientEntity, long> repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
Example #6
0
 public CrudWithSearchServiceBase(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <TModel, TKey> cache,
     IGenericRepository <TEntity, TKey> repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
 public TicketStatusService(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <TicketStatusModel, long> cache,
     IGenericRepository <TicketStatusEntity, long> repository)
     : base(mapper, unitOfWork, cache, repository)
 {
 }
 public EffortService(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <EffortModel, long> cache,
     IGenericRepository <EffortEntity, long> repository)
     : base(mapper, unitOfWork, cache, repository)
 {
     this._repository = repository;
 }
 public CrudServiceBase(
     IMapper mapper,
     IUnitOfWork unitOfWork,
     ITypedCacheService <TModel, TKey> cache,
     IGenericRepository <TEntity, TKey> repository)
     : base(mapper, unitOfWork)
 {
     this.Repository = repository;
     this.Cache      = cache;
 }
Example #10
0
 public InventoryOperationService(IMapper mapper,
                                  IUnitOfWork unitOfWork,
                                  ITypedCacheService <InventoryOperationModel, long> cache,
                                  IInventoryOperationRepository repository,
                                  IInventoryService inventoryService,
                                  ITypedCacheService <InventoryModel, long> inventoryCache)
     : base(mapper, unitOfWork, cache, repository)
 {
     this._inventoryService = inventoryService;
     this._inventoryCache   = inventoryCache;
 }