public UserController( IUserRepository userRepo, ICommentRepository commentRepo, IArticleRepository articleRepo, ICategoryRepository categoryRepo, IConfigurationKeyRepository configRepo, IAccount accnt, IFtp ft, ITextBuilder txtBuilder, IImageModifier imgModifier, ISessionHelper sessionRepo, IImageHelper imgHelper) { repoUser = userRepo; repoComment = commentRepo; repoArticle = articleRepo; repoCategory = categoryRepo; repoConfig = configRepo; account = accnt; ftp = ft; textBuilder = txtBuilder; imageModifier = imgModifier; repoSession = sessionRepo; imageHelper = imgHelper; repoSession.Controller = this; }
public ImageHelper( IConfigurationKeyRepository configRepo, IImageModifier imgModifier, IFtp ft, ITextBuilder txtBuilder) { repoConfig = configRepo; imageModifier = imgModifier; ftp = ft; textBuilder = txtBuilder; }