public CenterService(FrontAppDbContext dbContext, IWebHostEnvironment hostingEnvironment, DapperService dapperService, HttpClient httpClient) { this.dbContext = dbContext; this.hostingEnvironment = hostingEnvironment; this.dapperService = dapperService; this.httpClient = httpClient; }
public PaymentService(FrontAppDbContext dbContext, IWebHostEnvironment hostingEnvironment, DapperService dapperService, HttpClient httpClient, IConfiguration configuration, ICenterService centerService) { this.dbContext = dbContext; this.hostingEnvironment = hostingEnvironment; Configuration = configuration; this.dapperService = dapperService; this.httpClient = httpClient; _centerService = centerService; }
public UserService(UserManager <ApplicationUser> userManager, IConfiguration configuration, IDataProtectionProvider dataProtectionProvider, DataProtectionPurposeStrings dataProtectionPurposeStrings, IHttpContextAccessor httpContextAccessor, FrontAppDbContext dbContext, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, AuthenticationStateProvider authenticationStateProvider, IPasswordHasher <ApplicationUser> passwordHasher, ICenterService centerService, ITokenService tokenService, DapperService dapperService) { _userManager = userManager; _configuration = configuration; _httpContextAccessor = httpContextAccessor; _dbContext = dbContext; _signInManager = signInManager; _roleManager = roleManager; _authenticationStateProvider = authenticationStateProvider; _passwordHasher = passwordHasher; _centerService = centerService; _tokenService = tokenService; _dapperService = dapperService; _dataProtector = dataProtectionProvider.CreateProtector(dataProtectionPurposeStrings.RouteValue); }
public ServiceController(DapperService dapperService, ICenterService centerService, FrontAppDbContext dbContext) { _dapperService = dapperService; _centerService = centerService; _dbContext = dbContext; }