示例#1
0
 public CustomersController(AutoInsuranceContext context,
                            IMapper mapper,
                            IFileStorageService fileStorageService)
 {
     this.context            = context;
     this.mapper             = mapper;
     this.fileStorageService = fileStorageService;
 }
示例#2
0
 public VehiclesController(ILogger <VehiclesController> logger,
                           AutoInsuranceContext context,
                           IMapper mapper)
 {
     this.logger  = logger;
     this.context = context;
     this.mapper  = mapper;
 }
 public PaymentsController(ILogger <PaymentsController> logger,
                           AutoInsuranceContext context,
                           IMapper mapper)
 {
     this.logger  = logger;
     this.context = context;
     this.mapper  = mapper;
 }
 public AccountsController(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IConfiguration configuration,
     AutoInsuranceContext context,
     IMapper mapper)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _configuration = configuration;
     this.context   = context;
     this.mapper    = mapper;
 }