Exemplo n.º 1
0
 public TripsHistoryController(ITripsRepository tripsRepository,
                               IUrlHelper urlHelper,
                               IResourceUriHelper resourceUriHelper)
 {
     _urlHelper         = urlHelper;
     _tripsRepository   = tripsRepository;
     _resourceUriHelper = resourceUriHelper;
 }
Exemplo n.º 2
0
 public DriversController(UserManager <AppUser> userManager, IMapper mapper, IUsersRepository usersRepository, IEmailSender emailSender, IUploadService uploadService, IResourceUriHelper resourceUriHelper)
 {
     _mapper            = mapper;
     _userManager       = userManager;
     _usersRepository   = usersRepository;
     _emailSender       = emailSender;
     _uploadService     = uploadService;
     _resourceUriHelper = resourceUriHelper;
 }
Exemplo n.º 3
0
 public CustomersController(UserManager <AppUser> userManager,
                            IMapper mapper,
                            IUsersRepository usersRepository,
                            IEmailSender emailSender,
                            IResourceUriHelper resourceUriHelper)
 {
     _mapper            = mapper;
     _userManager       = userManager;
     _usersRepository   = usersRepository;
     _emailSender       = emailSender;
     _resourceUriHelper = resourceUriHelper;
 }
Exemplo n.º 4
0
 public AdminController(IUsersRepository usersRepository,
                        IResourceUriHelper resourceUriHelper,
                        UserManager <AppUser> userManager,
                        IEmailSender emailSender,
                        IUploadService uploadService,
                        ITripsRepository tripsRepository)
 {
     _usersRepository   = usersRepository;
     _resourceUriHelper = resourceUriHelper;
     _userManager       = userManager;
     _emailSender       = emailSender;
     _uploadService     = uploadService;
     _tripsRepository   = tripsRepository;
 }