Пример #1
0
        public HomeController(IUserDA userData, ILogError logError)
        {
            _logError = logError;
            _userData = userData;

            _userBL = new UserBL(_userData, _logError);
        }
Пример #2
0
 public UserController(UserManager <UserBE> userManager, SignInManager <UserBE> signManager, IUserDA userData, ILogError logError)
 {
     _logError    = logError;
     _userData    = userData;
     _signManager = signManager;
     _userManager = userManager;
     _userBL      = new UserBL(_userData, _logError);
 }
Пример #3
0
        public FlightController(IFlightDA flightData, IAirPortDA airportData, IAirCraftDA aircraftData, IUserDA userData, ILogError logError)
        {
            _logError     = logError;
            _flightData   = flightData;
            _airportData  = airportData;
            _aircraftData = aircraftData;
            _userData     = userData;

            _flightBL   = new FlightBL(_flightData, _logError);
            _airportBL  = new AirPortBL(_airportData, _logError);
            _aircraftBL = new AirCraftBL(_aircraftData, _logError);
            _userBL     = new UserBL(_userData, _logError);
        }
Пример #4
0
 public UserBL(IUserDA data, ILogError logError)
 {
     _data     = data;
     _logError = logError;
 }
Пример #5
0
 public UserBL(IConfiguration config)
 {
     userDA             = new UserDA();
     this.configuration = config;
 }
 public UserBL(IUserDA userContext)
 {
     this.userContext = userContext;
 }
 public UserControllerTest()
 {
     userContext         = new UserDA();
     userBL              = new UserBL(userContext);
     this.userController = new UserController(userBL);
 }
Пример #8
0
 public UserBL(IUserDA userDA)
 {
     _userDA = userDA;
 }
Пример #9
0
 public UserService(IUserDA userDA, IUserMapper userMapper, IBuildingService buildingService)
 {
     _userDA          = userDA;
     _userMapper      = userMapper;
     _buildingService = buildingService;
 }