Example #1
0
 /// <summary>
 /// creating object
 /// </summary>
 public UserCantrollerAPITest()
 {
     //Arrange
     userRL         = new UserRL();
     userBL         = new UserBL(userRL);
     userController = new UserController(userBL);
 }
Example #2
0
 public JwtTokenBl(IUserRefreshTokenRepository <UserRefreshToken, int> refreshRepository, IUserBl userBl, IAccountBl accountBl, IConfiguration configuration)
 {
     this.refreshRepository = refreshRepository;
     this.userBl            = userBl;
     this.accountBl         = accountBl;
     this.configuration     = configuration;
 }
 public AccountController(
     IJwtTokenBl tokenBl,
     IUserBl userBl,
     IAccountBl accountBl,
     INotificationBl notificationBl,
     IMapper mapper
     )
 {
     _tokenBl        = tokenBl;
     _userBl         = userBl;
     _accountBl      = accountBl;
     _notificationBl = notificationBl;
     _mapper         = mapper;
 }
Example #4
0
 public HomeController(IUserBl userBl)
 {
     _userBl = userBl;
 }
Example #5
0
 public HomeController(IUserBl userBl)
 {
     _userBl = userBl;
 }
Example #6
0
 public UserController(IUserBl bl)
 {
     _bl = bl;
 }
Example #7
0
 public RecordBl(IDao <Record> dao, IUserBl userBl, IDao <Record2Procedure> record2ProcedureDao)
 {
     _dao    = dao;
     _userBl = userBl;
     _record2ProcedureDao = record2ProcedureDao;
 }
Example #8
0
 public AccountController(IUserBl userBl)
 {
     _userBl = userBl;
 }
 public UserProfileController(IUserBl userBl)
 {
     _userBl = userBl;
 }
Example #10
0
 public UserController(IUserBl userBl)
 {
     _userBl = userBl;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EmployeesController"/> class.
 /// </summary>
 /// <param name="employeeBusiness">The employee business.</param>
 public UserController(IUserBl userBl, IConfiguration config)
 {
     this.userBL = userBl;
     this.config = config;
 }
 public AdminController()
 {
     userBl    = new UserBl();
     theatreBl = new TheatreBl();
 }
 public UserService()
 {
     _context = new PreScripdsDb();
     _userBl = new UserBl(_context);
 }
 public UserProfileController(IUserBl userBl)
 {
     _userBl = userBl;
 }
 public UserService(PreScripdsDb context)
 {
     _userBl = new UserBl(context);
 }
 public AccountController()
 {
     userBl = new UserBl();
 }
 public UserController(IUserBl userObj)
 {
     this.userObj = userObj;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserController"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="userBl">The user business logic.</param>
 public UserController(ILogger <UserController> logger, IUserBl userBl)
 {
     this.logger = logger;
     this.userBl = userBl;
 }
Example #19
0
 public AccountController(IUserBl userBl)
 {
     _userBl = userBl;
 }
Example #20
0
 public UserController(IUserBl iUB)
 {
     this.iUserBL = iUB;
 }
Example #21
0
        //public AccountController()
        //{
        //    _userBl = new UserBl();
        //}

        public AccountController1(IUserBl userBl)
        {
            this._userBl = userBl;
        }