Example #1
0
 public ZoneService(IRepository <Zone> genericRepository, IVehicleService VehicleService, IUserService userService, IRouteZoneService RouteZoneService) : base(genericRepository)
 {
     this.genericRepository = genericRepository;
     this.vehicleService    = VehicleService;
     this.userService       = userService;
     this.routeZoneService  = RouteZoneService;
 }
Example #2
0
 public frmLogin(ILogService logService, IUserService userService, IVehicleService vehicleService, IZoneService zoneService, IRouteZoneService routeZoneService)
 {
     InitializeComponent();
     _unitOfWork       = new UnitOfWork();
     _logger           = logService;
     _userService      = userService;
     _vehicleService   = vehicleService;
     _zoneService      = zoneService;
     _routeZoneService = routeZoneService;
 }
Example #3
0
 public ZoneController(IZoneService ZoneService, IUserService userService, IRouteZoneService routeZoneService)
 {
     this.ZoneService      = ZoneService;
     this.userService      = userService;
     this.routeZoneService = routeZoneService;
 }
Example #4
0
 public frmRouteZone(IZoneService zoneService, IRouteZoneService routeZoneService)
 {
     InitializeComponent();
     _zoneService      = zoneService;
     _routeZoneService = routeZoneService;
 }