public EditorController(IContentManagerService contentManagerService, IContentCategoryRepository contentCategoryRepository, IRegisteredUserRepository registeredUserRepository, IFashionFlavorRepository fashionFlavorRepository) { this.contentManagerService = contentManagerService; this.registeredUserRepository = registeredUserRepository; this.fashionFlavorRepository = fashionFlavorRepository; this.contentCategoryRepository = contentCategoryRepository; }
public EntriesController() { _signedUser = new Account(); _accountRepo = new AccountRepository(new AccountManageService(), new MailingService()); _entryRepo = new EntryRepository(new EntryManageService()); _contentCategoryRepo = new ContentCategoryRepository(new ContentCategoryManageService()); _paragraphRepo = new ParagraphRepository(); }
public GalleriesController() { _accountRepo = new AccountRepository(new AccountManageService(), new MailingService()); _fileUploadService = new FileUploadService(new FileSecurityValidator()); _galleryRepo = new GalleryRepository(new FileSecurityValidator(), _fileUploadService); _categoryRepo = new ContentCategoryRepository(new ContentCategoryManageService()); _signedUser = new Account(); }
public CmsController(IContentCategoryRepository categoryRepository, IContentArticleRepository articleRepository, BanobatDbContext dbContext, IMapper mapper, IUploadService uploadService, INotificationService notificationService) { _categoryRepository = categoryRepository; _articleRepository = articleRepository; _dbContext = dbContext; _mapper = mapper; _uploadService = uploadService; _notificationService = notificationService; }
public GridController(IContentManagerService contentManagerService, IContentCategoryRepository contentCategoryRepository) { this.contentManagerService = contentManagerService; this.contentCategoryRepository = contentCategoryRepository; }
public ContentCategoriesController(IContentCategoryRepository repo) { repository = repo; }
public ContentCategoriesController() { _repo = new ContentCategoryRepository(new ContentCategoryManageService()); }