Exemplo n.º 1
0
 public PermissionsController(IWrapperRepository wrapperRepository, IMapper mapper, IDistributedCache distributedCache, CRMContext context)
 {
     this.wrapperRepository = wrapperRepository;
     this.mapper            = mapper;
     this.distributedCache  = distributedCache;
     this.context           = context;
 }
Exemplo n.º 2
0
 public EmployeesController(IWrapperRepository wrapperRepository, IOptions <CustomConfigOptions> options,
                            IMapper mapper
                            )
 {
     this.wrapperRepository = wrapperRepository;
     this.mapper            = mapper;
     this.configOptions     = options.Value;
 }
Exemplo n.º 3
0
 public EmployeesController(IWrapperRepository wrapperRepository, IOptions <CustomConfigOptions> options
                            , IMapper mapper, IDistributedCache distributedCache, CRMContext context)
 {
     this.wrapperRepository = wrapperRepository;
     this.mapper            = mapper;
     this.distributedCache  = distributedCache;
     this.context           = context;
     this.configOptions     = options.Value;
 }
        public BaseControllerTest()
        {
            IConfiguration config = new ConfigurationBuilder()
                                    .AddJsonFile("appsettings.json")
                                    .Build();

            _connectionString = config.GetSection("ConnectionStrings:ConnectionString").Value;

            _dbContextOptions = new DbContextOptionsBuilder <RepositoryContext>()
                                .UseSqlServer(_connectionString)
                                .Options;

            var context = new RepositoryContext(_dbContextOptions);

            //Verify if database already contains data;
            _logger            = new Mock <ILoggerManager>().Object;
            _repositoryWrapper = new WrapperRepository(context);
        }
Exemplo n.º 5
0
 public GenreBusiness(IWrapperRepository wrapperRepository)
 {
     _wrapperRepository = wrapperRepository;
 }
Exemplo n.º 6
0
 public OrderItemService(IWrapperRepository wrapperRepository, ILoggerManager logger)
     : base(wrapperRepository, logger)
 {
 }
Exemplo n.º 7
0
 public IDService(IWrapperRepository repositories, IMapper mapper)
 {
     this.repositories = repositories;
     this.Mapper       = mapper;
 }
Exemplo n.º 8
0
 public BaseService(IWrapperRepository wrapperRepository, ILoggerManager logger)
 {
     _wrapperRepository = wrapperRepository;
     _logger            = logger;
 }
Exemplo n.º 9
0
 public StudentService(IWrapperRepository repositoryWrapper, ILoggerManager logger) :
     base(repositoryWrapper, logger)
 {
 }
Exemplo n.º 10
0
 public WrapperBusiness(IWrapperRepository wrapperRepository, IMemoryCache memoryCache)
 {
     _wrapperRepository = wrapperRepository;
     _memoryCache       = memoryCache;
 }
Exemplo n.º 11
0
 public PlatformBusiness(IWrapperRepository wrapperRepository)
 {
     _wrapperRepository = wrapperRepository;
 }
Exemplo n.º 12
0
 public CheckListServices(Domain.EF.AllNotesContext.AllNotesDbContext context, IWrapperRepository wrapperRepository) : base(context)
 {
     WrapperRepository = wrapperRepository;
 }
Exemplo n.º 13
0
 public SeriesServices(AllNotesDbContext context, IWrapperRepository wrapperRepository) : base(context)
 {
     WrapperRepository = wrapperRepository;
 }
Exemplo n.º 14
0
 public WrapperRepository(IWrapperRepository @object)
 {
     this.@object = @object;
 }
Exemplo n.º 15
0
 public PersonController(IWrapperRepository wrapperRepository, IMapper mapper)
 {
     _wrapperRepository = wrapperRepository;
     _mapper            = mapper;
 }
Exemplo n.º 16
0
 public CourseService(IWrapperRepository repositoryWrapper, ILoggerManager logger) :
     base(repositoryWrapper, logger)
 {
 }
Exemplo n.º 17
0
 public UserService(IOptions <AppSettings> appSettings, IWrapperRepository wrapperRepository, IMapper mapper)
 {
     _appSettings       = appSettings.Value;
     _wrapperRepository = wrapperRepository;
     _mapper            = mapper;
 }
 public SignatureService(IWrapperRepository repositoryWrapper, ILoggerManager logger) :
     base(repositoryWrapper, logger)
 {
 }
Exemplo n.º 19
0
 public ClientService(IWrapperRepository wrapperRepository, ILoggerManager logger)
     : base(wrapperRepository, logger)
 {
 }
Exemplo n.º 20
0
 public TeacherService(IWrapperRepository repositoryWrapper, ILoggerManager logger) :
     base(repositoryWrapper, logger)
 {
 }
Exemplo n.º 21
0
        public frmEditorial()
        {
            InitializeComponent();

            wrapperRepository = new WrapperRepository();
        }
Exemplo n.º 22
0
 public RateBusiness(IWrapperRepository wrapperRepository)
 {
     _wrapperRepository = wrapperRepository;
 }
Exemplo n.º 23
0
        public FormConsultController()
        {
            InitializeComponent();

            wrapperRepository = new WrapperRepository();
        }
Exemplo n.º 24
0
        public frmAuthor()
        {
            InitializeComponent();

            wrapperRepository = new WrapperRepository();
        }
Exemplo n.º 25
0
        public frmLogin()
        {
            InitializeComponent();

            wapperRepository = new WrapperRepository();
        }
Exemplo n.º 26
0
        public frmRegister()
        {
            InitializeComponent();

            wrapperRepository = new WrapperRepository();
        }
Exemplo n.º 27
0
 public AccountBusiness(IWrapperRepository wrapperRepository)
 {
     _wrapperRepository = wrapperRepository;
 }
Exemplo n.º 28
0
        public frmDevolution()
        {
            InitializeComponent();

            wrapperRepository = new WrapperRepository();
        }