예제 #1
0
 public ItemGroupService(IItemGroupAggregate itemGroupAggregate, ICurrentUserService currentUserService, IItemGroupRepository itemGroupRepository, ITaskRepository taskRepository)
 {
     _itemGroupRepository = itemGroupRepository;
     _taskRepository      = taskRepository;
     _itemGroupAggregate  = itemGroupAggregate;
     _currentUserService  = currentUserService;
 }
예제 #2
0
        public ItemGroupController(IItemGroupRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.ItemGroupRepository = repository;
        }
예제 #3
0
        public ItemGroupController(IItemGroupRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.ItemGroupRepository = repository;
        }
예제 #4
0
        public ItemGroupController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.ItemGroupRepository = new MixERP.Net.Schemas.Core.Data.ItemGroup
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
예제 #5
0
        public ItemGroupController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.ItemGroupRepository = new MixERP.Net.Schemas.Core.Data.ItemGroup
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
예제 #6
0
        public ItemService(IUnitOfWork unitOfWork,
                           IItemRepository itemRepository,
                           ICurrencyRepository currencyRepository,
                           IBusinessPartnerRepository businessPartnerRepository,
                           IItemGroupRepository itemGroupRepository)
        {
            _itemRepository            = itemRepository;
            _itemRepository.UnitOfWork = unitOfWork;

            _currencyRepository            = currencyRepository;
            _currencyRepository.UnitOfWork = unitOfWork;

            _businessPartnerRepository            = businessPartnerRepository;
            _businessPartnerRepository.UnitOfWork = unitOfWork;

            _itemGroupRepository            = itemGroupRepository;
            _itemGroupRepository.UnitOfWork = unitOfWork;
        }
예제 #7
0
 public ItemsController(
     ILanguageManager languageManager,
     IPeriodManager periodManager,
     IItemGroupRepository itemGroupRepo,
     IItemRepository itemRepo,
     IUnitRepository unitRepo,
     IItemUnitRepository itemUnitRepo,
     IPriceRepository priceRepo,
     IItemUnitPriceRepository itemUnitPriceRepo,
     IStoreItemUnitRepository storeItemUnitRepo,
     IModelFactory modelFactory) : base(languageManager)
 {
     _periodManager     = periodManager;
     _itemRepo          = itemRepo;
     _unitRepo          = unitRepo;
     _itemUnitRepo      = itemUnitRepo;
     _itemGroupRepo     = itemGroupRepo;
     _priceRepo         = priceRepo;
     _itemUnitPriceRepo = itemUnitPriceRepo;
     _storeItemUnitRepo = storeItemUnitRepo;
     _modelFactory      = modelFactory;
 }
예제 #8
0
 public ItemRepository(ERPContext context, IItemGroupRepository itemGroupRepo) : base(context)
 {
     _itemGroupRepo = itemGroupRepo;
 }
 public ItemGroupService(IUnitOfWork unitOfWork,
                         IItemGroupRepository itemGroupRepository)
 {
     _itemGroupRepository            = itemGroupRepository;
     _itemGroupRepository.UnitOfWork = unitOfWork;
 }
예제 #10
0
 public ItemGroupServices(IItemGroupRepository ItemGroupRes)
 {
     _res = ItemGroupRes;
 }
예제 #11
0
 public ItemGroupBusiness(IItemGroupRepository ItemGroupRes)
 {
     _res = ItemGroupRes;
 }
예제 #12
0
 public ItemGroupsController(ILanguageManager languageManager, IItemGroupRepository itemGroupRepo) : base(languageManager)
 {
     _itemGroupRepo = itemGroupRepo;
 }
예제 #13
0
 public EntityValidator(IItemGroupRepository itemGroupRepository)
 {
     _itemGroupRepository = itemGroupRepository;
 }
 public ItemGroupBusiness(IItemGroupRepository ItemGroupRes, IConfiguration configuration)
 {
     Secret = configuration["AppSettings:Secret"];
     _res   = ItemGroupRes;
 }
예제 #15
0
 public ItemGroupService(IItemGroupRepository itemGroupRepository, IUnitOfWork unitOfWork)
 {
     this.itemGroupRepository = itemGroupRepository;
     this.unitOfWork          = unitOfWork;
 }
예제 #16
0
 public ItemGroupsController(IItemGroupRepository itemGroupRepository, IMapper mapper)
 {
     _itemGroupRepository = itemGroupRepository ?? throw new ArgumentNullException(nameof(itemGroupRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }