public ItemGroupService(IItemGroupAggregate itemGroupAggregate, ICurrentUserService currentUserService, IItemGroupRepository itemGroupRepository, ITaskRepository taskRepository) { _itemGroupRepository = itemGroupRepository; _taskRepository = taskRepository; _itemGroupAggregate = itemGroupAggregate; _currentUserService = currentUserService; }
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; }
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 }; }
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; }
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; }
public ItemRepository(ERPContext context, IItemGroupRepository itemGroupRepo) : base(context) { _itemGroupRepo = itemGroupRepo; }
public ItemGroupService(IUnitOfWork unitOfWork, IItemGroupRepository itemGroupRepository) { _itemGroupRepository = itemGroupRepository; _itemGroupRepository.UnitOfWork = unitOfWork; }
public ItemGroupServices(IItemGroupRepository ItemGroupRes) { _res = ItemGroupRes; }
public ItemGroupBusiness(IItemGroupRepository ItemGroupRes) { _res = ItemGroupRes; }
public ItemGroupsController(ILanguageManager languageManager, IItemGroupRepository itemGroupRepo) : base(languageManager) { _itemGroupRepo = itemGroupRepo; }
public EntityValidator(IItemGroupRepository itemGroupRepository) { _itemGroupRepository = itemGroupRepository; }
public ItemGroupBusiness(IItemGroupRepository ItemGroupRes, IConfiguration configuration) { Secret = configuration["AppSettings:Secret"]; _res = ItemGroupRes; }
public ItemGroupService(IItemGroupRepository itemGroupRepository, IUnitOfWork unitOfWork) { this.itemGroupRepository = itemGroupRepository; this.unitOfWork = unitOfWork; }
public ItemGroupsController(IItemGroupRepository itemGroupRepository, IMapper mapper) { _itemGroupRepository = itemGroupRepository ?? throw new ArgumentNullException(nameof(itemGroupRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }