public PostController(IPostRepo postRepo, IMapper mapper, ICategoryRepo categoryRepo, ISettingsRepo settingsRepo) { _postRepo = postRepo; _mapper = mapper; _categoryRepo = categoryRepo; _settingsRepo = settingsRepo; }
public AdminController(IUserRepo userRepo, IMapper mapper, ICategoryRepo categoryRepo, ISettingsRepo settingsRepo) { _userRepo = userRepo; _mapper = mapper; _categoryRepo = categoryRepo; _settingsRepo = settingsRepo; }
public ProductsController(IProductRepo productRepo, ICategoryRepo categoryRepo, IOptionsSnapshot <CustomSettings> settings, ILogger <ProductsController> logger) { _productRepo = productRepo; _categoryRepo = categoryRepo; Logger = logger; }
public MonitorSvc(IArticleRepo articleRepo, ICategoryRepo categoryRepo, ITagRepo tagRepo, ICommentRepo commentRepo) { _articleRepo = articleRepo; _categoryRepo = categoryRepo; _tagRepo = tagRepo; _commentRepo = commentRepo; }
public SelectedSeatController(ILogger <SelectedSeatController> logger, IRoutesRepo iRou, ICategoryRepo iCate, ISeatRePo iSeat) { _logger = logger; _IRou = iRou; _ICate = iCate; _ISeat = iSeat; }
public RoutesAdminController(IRoutesRepo iRout, IStationRepo iStaion, ICategoryRepo iCate, IBusRePo iBus) { _IRout = iRout; _IStaion = iStaion; _ICate = iCate; _IBus = iBus; }
public CategorySvc(ILogger <CategorySvc> logger, ICategoryRepo categoryRepo, IArticleRepo articleRepo, IArticleContentRepo articleContentRepo) { _logger = logger; _categoryRepo = categoryRepo; _articleRepo = articleRepo; _articleContentRepo = articleContentRepo; }
public CategoriesController(ICategoryRepo repo, IMapper mapper, ILogger <CategoriesController> logger, IHostEnvironment hostEnvironment) { _repo = repo; _mapper = mapper; _logger = logger; _hostEnvironment = hostEnvironment; }
public TableAddSaleViewModel(Table table, ICategoryRepo categoryRepo) { Table = table; _categoryRepo = categoryRepo; ToTableAddSaleSubViewModelCommand = new RelayCommand <Data.Category>(ToTableAddSaleSubView, (x) => x != null); ViewBackCommand = new RelayCommand(ViewBack); }
public IContentContainer CreateSiteContent( ICategoryRepo catRepo, IArchiveRepository archiveRep, ITemplateRepo tempRep, int siteId) { return(new ContentContainer(catRepo, archiveRep, tempRep, siteId)); }
public HomeController(ICategoryRepo catRepo, IModelRepo modelRepo) { _categoryRepository = catRepo; _modelRepository = modelRepo; //_productRepository = prodRepo; //_itemRepository = iteRepo; }
public DocumentController( ICategoryRepo categoryRepo, IDocumentRepo documentRepo ) { _categoryRepo = categoryRepo ?? throw new ArgumentNullException(nameof(categoryRepo)); _documentRepo = documentRepo ?? throw new ArgumentNullException(nameof(documentRepo)); }
public ContentRepository( ICategoryRepo catRepo, ITemplateRepo tempRep) { this._catRepo = catRepo; this._tempRep = tempRep; siteContents = new Dictionary <int, IContentContainer>(); }
public CategoryService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _categoryRepo = new CategoryRepo(context); _crashLogRepo = new CrashLogRepo(context); //_productRepo = new IProductRepo(context); }
public ProductsController(IWebHostEnvironment webHost, IMapper mapper, IProductRepo productRepo, ICategoryRepo categoryRepo) { this.webHost = webHost; this.mapper = mapper; this.productRepo = productRepo; this.categoryRepo = categoryRepo; }
public KitchenViewModel(ISaleRepo saleRepo, ICategoryRepo categoryRepo) { _saleRepo = saleRepo; _categoryRepo = categoryRepo; CookedCommand = new RelayCommand <Data.Sale>(Cooked, (_) => SelectedSale != null); ToProductAddViewCommand = new RelayCommand(ToReservationAddView); }
public CategoriesController(ILogger <CategoriesController> logger, ICategoryRepo categoryRepos, ApplicationDbContext context, IWebHostEnvironment env) { _logger = logger; _categoryRepos = categoryRepos; _context = context; _env = env; }
public CategoriesListViewModel(ICategoryRepo categoryRepo) { this.categoryRepo = categoryRepo; Intialize(); AddCategoryCommand = new DelegateCommand <Category>(OnAddCategory); EditCategoryCommand = new DelegateCommand <Category>(OnEditCategory, CanCategory); DeleteCategoryCommand = new DelegateCommand(OnDeleteCategory, CanCategory); }
public PetRepo( IAmazonDynamoDB client, ITagRepo tagRepo, ICategoryRepo categoryRepo ) : base(client, envVarTableName: "TABLE_NAME") { this.tagRepo = tagRepo; this.categoryRepo = categoryRepo; }
/// <summary> /// /// </summary> /// <param name="categoryRep"></param> /// <param name="extendRep"></param> /// <param name="tempRep"></param> /// <param name="categoryId"></param> /// <param name="site"></param> /// <returns></returns> public ICategory CreateCategory( ICategoryRepo categoryRep, ISiteRepo siteRepo, IExtendFieldRepository extendRep, ITemplateRepo tempRep, CmsCategoryEntity value) { return(new Category(categoryRep, siteRepo, extendRep, tempRep, value)); }
public CategoriesController(IUserService userService, IAudioOwnerRepo audioOwnerRepo, IQuoteBotRepo quoteBotRepo, ICategoryRepo categoryRepo) { this.userService = userService; this.audioOwnerRepo = audioOwnerRepo; this.quoteBotRepo = quoteBotRepo; this.categoryRepo = categoryRepo; }
public DataOptionsController(MigrationsManager manager, IBookRepo bookRepo, ICategoryRepo categoryRepo, IPublisherRepo publisherRepo) { _manager = manager; _bookRepo = bookRepo; _categoryRepo = categoryRepo; _publisherRepo = publisherRepo; }
public ProductController(IGenderRepo genderRepo, ISizeRepo sizeRepo, IProductRepo repostory, IMapper mapper, ICategoryRepo categoryRepo, ISizeOfProductRepo sizeOfProductRepo, IGenderOfProductRepo genderOfProductRepo) { _genderRepo = genderRepo; _sizeRepo = sizeRepo; _categoryRepo = categoryRepo; _repository = repostory; _sizeOfProductRepo = sizeOfProductRepo; _genderOfProductRepo = genderOfProductRepo; _mapper = mapper; }
public AudioCategoryController(IAudioCategoryRepo audioCategoryRepo, IAudioOwnerRepo audioOwnerRepo, ICategoryRepo categoryRepo, IUserService userService) { this.audioCategoryRepo = audioCategoryRepo; this.audioOwnerRepo = audioOwnerRepo; this.categoryRepo = categoryRepo; this.userService = userService; }
//private Data.Occupancy _selectedOccupancy; //public Data.Occupancy SelectedOccupancy //{ // get { return _selectedOccupancy; } // set { SetValue(ref _selectedOccupancy, value); } //} #endregion #region Constructor public WaiterViewModel(ISaleRepo saleRepo, IOccupanciesRepo occupanciesRepo, ICategoryRepo categoryRepo) { _saleRepo = saleRepo; _occupanciesRepo = occupanciesRepo; _categoryRepo = categoryRepo; // .Where(sale => sale.Cooked.Equals("0")) (ObservableCollection < Data.Sale > ) //EditReservationCommand = new RelayCommand<CurrentCellEndEditEventArgs>(EditReservation); DeliverdCommand = new RelayCommand <WaiterSale>(Delivered, (_) => SelectedSale != null); }
public ArchiveService( IContentRepository contentRep, ICategoryRepo catRepo, IExtendFieldRepository extendRep ) { _contentRep = contentRep; _extendRep = extendRep; _catRepo = catRepo; }
internal Category(ICategoryRepo rep, ISiteRepo siteRepo, IExtendFieldRepository extendRep, ITemplateRepo tmpRep, CmsCategoryEntity value) { this.value = value; this._repo = rep; this._extendRep = extendRep; this._tempRep = tmpRep; this.siteRepo = siteRepo; }
public IActionResult ProductList([FromServices] ICategoryRepo categoryRepo, int id) { var cat = categoryRepo.Find(id); ViewBag.Title = cat?.CategoryName; ViewBag.Header = cat?.CategoryName; ViewBag.ShowCategory = false; ViewBag.Featured = false; return(View(_productRepo.GetProductsForCategory(id))); }
internal ContentContainer( ICategoryRepo catRepo, IArchiveRepository archiveRep, ITemplateRepo tempRep, int siteId) { _catRepo = catRepo; _archiveRep = archiveRep; _tempRep = tempRep; SiteId = siteId; }
/// <summary> /// /// </summary> /// <param name="contentRep"></param> /// <param name="archiveRep"></param> /// <param name="extendRep"></param> /// <param name="categoryRep"></param> /// <param name="templateRep"></param> /// <param name="linkRep"></param> /// <param name="id"></param> /// <param name="strId"></param> /// <param name="categoryId"></param> /// <param name="title"></param> /// <returns></returns> public IArchive CreateArchive( IContentRepository contentRep, IArchiveRepository archiveRep, IExtendFieldRepository extendRep, ICategoryRepo categoryRep, ITemplateRepo templateRep, CmsArchiveEntity value) { return(new Archive(contentRep, archiveRep, extendRep, categoryRep, templateRep, value)); }
public StatementService( IStatementRepo statementRepo, ICategoryRepo categoryRepo, IAssetRepo assetRepo, IFileRepo fileRepo) { _statementRepo = statementRepo; _categoryRepo = categoryRepo; _assetRepo = assetRepo; _fileRepo = fileRepo; }
public CategoryBLL(ICategoryRepo repo) { this.repo = repo; }
public CategoryController() { this.categoryRepo = new CategoryRepository(new KasaTakipDbContext()); }
public ProductBLL() { _productRepo = new ProductRepo(); _categoryRepo = new CategoryRepo(); }
public ProductBLL(IProductRepo stub) { _productRepo = stub; _categoryRepo = new CategoryRepoStub(); }
public CategoryOperations(ICategoryRepo categoryRepo) { _categoryRepo = categoryRepo; }
public ExporterController(ICategoryRepo categoryRepo) { this.categoryRepo = categoryRepo; }
public CategoryBLL() { repo = new CategoryRepo(); }
public CategoryController(ICategoryRepo repo) { _repository = repo; }
public CategoryController(ICategoryRepo categoryRepo) { this.categoryRepo = categoryRepo; }