public SearchController(ISearchServices searchServices, ICategoryServices categoryServices, ILocationServices locationServices, IReferenceServices referenceServices, IEmailServices emailService) : base(locationServices, referenceServices) { _searchServices = searchServices; _categoryServices = categoryServices; _emailService = emailService; }
public UsersController(IUserServices userServices, IAccountServices accountServices, ICategoryServices categoryServices, ITransactionServices transactionServices, IBudgetServices budgetServices, IHttpContextProvider context, ISiteConfiguration config, ICryptoProvider crypto, IUrlHelper urlHelper, IModelCache cache, ICachingHelpers cachingHelpers, ISessionServices sessionServices) : base(userServices, accountServices, categoryServices, transactionServices, budgetServices, context, config, urlHelper, cache, cachingHelpers) { _crypto = crypto; _sessionServices = sessionServices; }
public CategoryAPIController(ICategoryServices categoryServices) { if (categoryServices == null) throw new ArgumentNullException("categoryServices"); _categoryServices = categoryServices; }
public static IQueryable<SelectListItem> GetCategorySelectOptions(ICategoryServices categoryServices, int accountId, CategoryTypeDTO type) { return categoryServices.All().Where(x => x.Type == type && x.Account_AccountID == accountId).Select(x => new SelectListItem { Value = x.CategoryID.ToString(), Text = x.Name }).AsQueryable(); }
public static IQueryable<SelectListItem> GetCategorySelectOptions(ICategoryServices categoryServices) { return categoryServices.All().Select(x => new SelectListItem { Value = x.CategoryID.ToString(), Text = x.Name }).AsQueryable(); }
public ArticlesController( IArticleServices articlesServices, ICivilizationServices civilizationServices, ICategoryServices categoryServices) { this.articlesServices = articlesServices; this.civilizationServices = civilizationServices; this.categoryServices = categoryServices; }
public BudgetServices(IBudgetRepository budgets, IAccountRepository accounts, ICategoryRepository categories, ICategory_BudgetRepository categories_budgets, ITransactionRepository transactions, IAccountServices accountServices, ICategoryServices categoryServices) { _budgets = budgets; _accounts = accounts; _categories = categories; _categories_budgets = categories_budgets; _transactions = transactions; _accountServices = accountServices; _categoryServices = categoryServices; }
public PostController(IAdServices adServices, IAdDetailsServices adDetailsServices, ILocationServices locationServices, IUserServices userServices, ICategoryServices categoryServices, IAdDataConsistencyServices adConsistencyServices, IReferenceServices referenceServices, IAdActivationServices adActivationServices, IAdDeletionServices adDeletionServices, IAdRequestServices adRequestServices, IAdContactServices adContactServices, ISpamAdServices spamAdServices) { _adServices = adServices; _adDetailsServices = adDetailsServices; _locationServices = locationServices; _userServices = userServices; _categoryServices = categoryServices; _adConsistencyServices = adConsistencyServices; _referenceServices = referenceServices; _adActivationServices = adActivationServices; _adDeletionServices = adDeletionServices; _adRequestServices = adRequestServices; _adContactServices = adContactServices; _spamAdServices = spamAdServices; }
public BaseController(IUserServices userServices, IAccountServices accountServices, ICategoryServices categoryServices, ITransactionServices transactionServices, IBudgetServices budgetServices, IHttpContextProvider context, ISiteConfiguration config, IUrlHelper urlHelper, IModelCache cache, ICachingHelpers cachingHelpers) { _userServices = userServices; _accountServices = accountServices; _categoryServices = categoryServices; _transactionServices = transactionServices; _budgetServices = budgetServices; _context = context; _config = config; _url = urlHelper; _cache = cache; _cachingHelpers = cachingHelpers; }
public CategoriesController(ICategoryServices categoryServices, IUserServices userServices) { this.categoryServices = categoryServices; this.userServices = userServices; }
public CategoriesController(ICategoryServices categoryService) { this._categoryService = categoryService; }