public GarageController(
     VehicleRepository vehicleRepository,
     UserManager <ApplicationUser> userManager,
     IVehicleViewModelService vehicleViewModelService,
     IAuthorizationService authService)
 {
     _vehicleRepository       = vehicleRepository;
     _userManager             = userManager;
     _vehicleViewModelService = vehicleViewModelService;
     _authService             = authService;
 }
 public VehiclesController(
     VehicleRepository repository,
     UserManager <ApplicationUser> userManager,
     IVehicleViewModelService vehicleService,
     IUserProfileService userProfileService,
     ILogger <VehiclesController> logger
     )
 {
     _vehicleRepository  = repository;
     _userManager        = userManager;
     _vehicleService     = vehicleService;
     _userProfileService = userProfileService;
     _logger             = logger;
 }
Example #3
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     IVehicleViewModelService vehicleService,
     IVehicleFactory vehicleFactory,
     ILogger <AccountController> logger
     )
 {
     _userManager    = userManager;
     _signInManager  = signInManager;
     _emailSender    = emailSender;
     _logger         = logger;
     _vehicleService = vehicleService;
     _vehicleFactory = vehicleFactory;
 }
Example #4
0
 public HomeController(UserManager <ApplicationUser> userManager, IVehicleViewModelService vehicleService)
 {
     _userManager    = userManager;
     _vehicleService = vehicleService;
 }
 public YearsController(IVehicleViewModelService vehicleService)
 {
     _vehicleService = vehicleService;
 }