public OrdersController(IOrderDAL oDAL, ICustomerDAL cDAL, ILocationDAL lDAL, ILogger <OrdersController> logger) { _context = oDAL; _custContext = cDAL; _locContext = lDAL; this.logger = logger; }
public LocationMgr(IConfiguration config) { _iconfiguration = config; var specific_DAL = new LocationDAL(config); DAL = specific_DAL; }
/// <summary> /// Constructor that adds all the dependencies /// </summary> /// <param name="authProvider">Where the authentication asd authoriztion is housed</param> /// <param name="dal">The locaion data access layer</param> /// <param name="categoryDal">The class that is used to access the categories table.</param> public LocationController(IAuthProvider authProvider, ILocationDAL dal, ICategorySqlDAL categoryDal, ICheckinSqlDAL checkinDal) { this.authProvider = authProvider; this.dal = dal; this.categoryDal = categoryDal; this.checkinDal = checkinDal; }
public AccountController(IDEMO_DAL demoDal, IAuthProvider authProvider, IJobDAL jobDAL, ITaskDAL taskDAL, ILocationDAL locationDAL, IUserDAL userDAL, IHoursDAL hoursDAL, IPayrollDAL payrollDAL, ILogDAL logDAL) { this.demoDal = demoDal; this.authProvider = authProvider; this.jobDAL = jobDAL; this.taskDAL = taskDAL; this.locationDAL = locationDAL; this.userDAL = userDAL; this.hoursDAL = hoursDAL; this.payrollDAL = payrollDAL; this.logDAL = logDAL; }
public LocationController(ILocationDAL locationDAL, ILogger <LocationController> logger) { _locationDAL = locationDAL; _logger = logger; }
public LocationController(ILocationDAL radiusDAL) { _radiusDAL = radiusDAL; }
public LocationBLL() { _locationDal = new LocationDAL(); }
public PostgisLocationRepository(ILocationDAL locationDAL) { _dal = locationDAL; }
public LocationService(ILocationDAL locationDAL) { _locationDAL = locationDAL; }
/// <summary> /// Constructor used to inject category DAL and location DAL /// </summary> /// <param name="categoryDal">The category DAL to use.</param> /// <param name="locationDal">The location DAL to use.</param> public SearchController(ICategorySqlDAL categoryDal, ILocationDAL locationDal) { this.categroyDal = categoryDal; this.locationDal = locationDal; }