public AccountingUnitResolverController(IQueryModelDatabase database, IMapper mapper, IUnitOfWork unitOfWork, IAccountingUnitRepository accountingUnitRepository)
 {
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
     _accountingUnitRepository = accountingUnitRepository;
     _database = database;
 }
Exemple #2
0
        public TdsController(IQueryModelDatabase database, IMapper mapper, IUnitOfWork unitOfWork,


                             IAccountingUnitRepository accountingUnitRepository, ITdsRepository tdsRepository)
            : base(database, mapper, unitOfWork, accountingUnitRepository)
        {
            _tdsRepository            = tdsRepository;
            _accountingUnitRepository = accountingUnitRepository;
            _unitOfWork = unitOfWork;
            _mapper     = mapper;
            _database   = database;
        }
Exemple #3
0
 public SuppliersController(ISupplierRepository supplierRepository,
                            IUnitOfWork unitOfWork,
                            IMapper mapper,
                            IQueryModelDatabase database, IQueryModelDatabase database1,
                            IAccountingUnitRepository accountingUnitRepository)
     : base(database, mapper, unitOfWork, accountingUnitRepository)
 {
     _supplierRepository       = supplierRepository;
     _unitOfWork               = unitOfWork;
     _mapper                   = mapper;
     _database                 = database1;
     _accountingUnitRepository = accountingUnitRepository;
 }
Exemple #4
0
        public AuthController(IAccountingUnitRepository userProfileRepository, IConfiguration iconfiguration, IMapper mapper)
        {
            _userProfileRepository = userProfileRepository;
            _mapper = mapper;


            _clientId = iconfiguration.GetSection("Auth0Settings").GetSection("ClientId").Value;
            _audience = iconfiguration.GetSection("Auth0Settings").GetSection("Audience").Value;

            _httpClient = new HttpClient()
            {
                BaseAddress = new Uri(iconfiguration.GetSection("Auth0Settings").GetSection("Host").Value),
            };

            _httpClient.DefaultRequestHeaders.Accept.Clear();
        }
Exemple #5
0
 public Gstr7COntroller(IQueryModelDatabase database, IMapper mapper,
                        IUnitOfWork unitOfWork, IAccountingUnitRepository accountingUnitRepository)
     : base(database, mapper, unitOfWork, accountingUnitRepository)
 {
     _database = database;
 }