public EmployeeService(IUnitOfWork unitOfWork, IOptions <AppSettings> appSettings, IMapper mapper, ILoginInfoRepository loginInfoRepository) { this.unitOfWork = unitOfWork; this.mapper = mapper; this.loginInfoRepository = loginInfoRepository; this.appSettings = appSettings.Value; }
public HomeController(IPostRepository _postrepository, IHeaderRepository _headerrepository, IPostCategoryRepository _postcategoryrepository, ICategoryRepository _categoryrepository, IMessageRepository _messagerepository, ICommentRepository _commentRepository, ILoginInfoRepository _logininforepository) { this._postrepository = _postrepository; this._categoryrepository = _categoryrepository; this._headerrepository = _headerrepository; this._messagerepository = _messagerepository; this._postcategoryrepository = _postcategoryrepository; this._commentRepository = _commentRepository; this._logininforepository = _logininforepository; }
public LoginService(ILoginInfoRepository loginInfoRepository, IHttpContextAccessor accessor) { _loginInfoRepository = loginInfoRepository; _accessor = accessor; }
public AuthService(ILoginInfoRepository loginInfoRepository, IUserService userService) { this._loginInfoRepository = loginInfoRepository; this._userService = userService; }
public LoginInfoService(ILoginInfoRepository repository) { this.Repository = repository; this.AddDisposableObjects(repository); }