Ejemplo n.º 1
0
 public VehicleService(IMapper mapper, RentCarWebContext context, IRentalEventService rentalEventService, IUserRentalService userRental)
 {
     _mapper             = mapper;
     _context            = context;
     _rentalEventService = rentalEventService;
     _userRentalService  = userRental;
 }
Ejemplo n.º 2
0
 public UserService(IMapper mapper,
                    RentCarWebContext context,
                    UserManager <ApplicationUser> userManager,
                    SignInManager <ApplicationUser> signInManager,
                    IHttpContextAccessor httpContextAccessor)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _mapper              = mapper;
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
 }
Ejemplo n.º 3
0
 public UserRentalService(RentCarWebContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public AdminSeeder(RentCarWebContext context)
 {
     _context = context;
 }
 public RentalEventService(RentCarWebContext context, IRentalEventServiceHelper helper)
 {
     _context = context;
     _helper  = helper;
 }