Beispiel #1
0
 public PdfService(
     SmartHousingContext context,
     IMapper mapper,
     IHttpContextAccessor httpContextAccessor,
     IHtmlRenderService htmlRenderService)
 {
     _context             = context;
     _mapper              = mapper;
     _httpContextAccessor = httpContextAccessor;
     _htmlRenderService   = htmlRenderService;
 }
        public UtilitesService(SmartHousingContext context,
                               IMapper mapper,
                               AmountCalculator amountCalculator,
                               RoleManager <DAL.Role> roleManager,
                               UserManager <DAL.User> userManager,
                               IHttpContextAccessor httpContextAccessor) : base(roleManager, userManager, httpContextAccessor)
        {
            this._context = context;
            this._mapper  = mapper;

            this._amountCalculator = amountCalculator;
        }
 public AccountService(
     SmartHousingContext context,
     IHttpContextAccessor httpContextAccessor,
     UserManager <DAL.User> userManager,
     IOptionsSnapshot <JwtIssuerOptions> jwtIssuerOptions,
     IMapper mapper)
 {
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
     _userManager         = userManager;
     _jwtIssuerOptions    = jwtIssuerOptions;
     _mapper = mapper;
 }
Beispiel #4
0
 public ElectricityService(SmartHousingContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public WaterService(SmartHousingContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Beispiel #6
0
 public AmountCalculator(SmartHousingContext context, IMapper mapper)
 {
     this._context = context;
     this._mapper  = mapper;
 }