Example #1
0
 public AccountsController(
     TwendanisheContext context, IConfiguration configuration,
     AccountService accountService)
 {
     _context        = context;
     _configuration  = configuration;
     _accountService = accountService;
 }
        public TravelsController(
            TwendanisheContext context, IConfiguration configuration,
            RideService rideService, DestinationService destinationService,
            LocationService locationService
            )
        {
            _context       = context;
            _configuration = configuration;

            // Business Services
            _rideService        = rideService;
            _destinationService = destinationService;
            _locationService    = locationService;
        }
 public AccountService(TwendanisheContext context, HashingService hashingService)
 {
     _context        = context;
     _hashingService = hashingService;
 }
Example #4
0
 public RideService(TwendanisheContext context)
 {
     _context = context;
 }
Example #5
0
 public LocationService(TwendanisheContext context)
 {
     _context = context;
 }
 public DestinationService(TwendanisheContext context)
 {
     _context = context;
 }
 public LookupsController(TwendanisheContext context)
 {
     _context = context;
 }