public AdminPanelController(BlogData blogData, IHostingEnvironment env, IBlogUnitOfWork blogUnitOfWork, ISecurityFacade securityFacade) { _blogData = blogData; _hostingEnvironment = env; _securityFacade = securityFacade; _blogUnitOfWork = blogUnitOfWork; }
/// <summary> /// Implementation of GetPagedPostListQuery.Handler. /// </summary> /// <param name="uow">The blog unit of work.</param> /// <param name="blogOptions">The blog options.</param> /// <param name="postUrlHelper">Post URL helper.</param> /// <param name="fileUrlHelper">File URL helper.</param> public Handler(IBlogUnitOfWork uow, IOptionsSnapshot <PineBlogOptions> blogOptions, PostUrlHelper postUrlHelper, FileUrlHelper fileUrlHelper) { _blogOptions = blogOptions; _uow = uow; _postUrlHelper = postUrlHelper; _fileUrlHelper = fileUrlHelper; }
public PostRepositoryTests(MongoDbDatabaseFixture fixture) : base(fixture) { SeedDatabase(); _uow = ServiceProvider.GetService <IBlogUnitOfWork>(); _postRepository = (PostRepository)_uow.Posts; }
public PostRepositoryTests() { SeedDatabase(); _dbContext = ServiceProvider.GetRequiredService <BlogEntityDbContext>(); _uow = ServiceProvider.GetRequiredService <IBlogUnitOfWork>(); _postRepository = (PostRepository)_uow.Posts; }
public PostApiController(IServiceCollection collection, ILogger <PostApiController> logger, IBlogUnitOfWork BlogUnitOfWork, IMediator mediator, IPostService PostService) : base(BlogUnitOfWork, collection, logger) { this._BlogUnitOfWork = BlogUnitOfWork; this._mediator = mediator; this._PostService = PostService; }
public PostController(IBlogUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; }
public BlogSettingsRepositoryTests() { _dbContext = ServiceProvider.GetRequiredService <BlogEntityDbContext>(); _uow = ServiceProvider.GetRequiredService <IBlogUnitOfWork>(); _blogSettingsRepository = (BlogSettingsRepository)_uow.BlogSettings; }
public BlogController(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
/// <summary> /// Implementation of UnpublishPostCommand.Handler. /// </summary> /// <param name="uow">The blog unit of work.</param> public Handler(IBlogUnitOfWork uow) { _uow = uow; }
public WriterPanelController(IBlogUnitOfWork blogUnitOfWork, ISecurityFacade securityFacade) { _blogUnitOfWork = blogUnitOfWork; _securityFacade = securityFacade; }
public CommentService(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
/// <summary> /// ctor /// </summary> /// <param name="unitofwork">The current Unit of Work</param> public AlbumRepository(IBlogUnitOfWork unitofwork) : base(unitofwork) { }
public BlogSettingsRepositoryTests(GitDbFixture fixture) : base(fixture) { _uow = ServiceProvider.GetRequiredService <IBlogUnitOfWork>(); _blogSettingsRepository = (BlogSettingsRepository)_uow.BlogSettings; }
public CommentsController(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
public CreateCommentHandler(IBlogUnitOfWork blogUnitOfWork, IMapper mapper) { _blogUnitOfWork = blogUnitOfWork; _mapper = mapper; }
/// <summary> /// ctor /// </summary> /// <param name="unitofwork">The current Unit of Work</param> public CommentRepository(IBlogUnitOfWork unitofwork) : base(unitofwork) { }
/// <summary> /// Implementation of UpdateBlogSettingsCommand.Handler. /// </summary> /// <param name="uow">The blog unit of work.</param> /// <param name="fileUrlHelper">File URL helper.</param> public Handler(IBlogUnitOfWork uow, FileUrlHelper fileUrlHelper) { _uow = uow; _fileUrlHelper = fileUrlHelper; }
public BookService(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
public CommentController(IBlogUnitOfWork blogUnitOf) { _blogUnitOf = blogUnitOf; }
public HomeController(ILogger <HomeController> logger, DatabaseContext context, IBlogUnitOfWork blogUnitOfWork) { _logger = logger; _context = context; _blogUnitOfWork = blogUnitOfWork; }
public UserService(IBlogUnitOfWork uow) { _uow = uow; }
public AuthorRepositoryTests(GitDbFixture fixture) : base(fixture) { _uow = ServiceProvider.GetRequiredService <IBlogUnitOfWork>(); _authorRepository = (AuthorRepository)_uow.Authors; }
public UnlikePostHandler(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
public CategoryService(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
public GetPostsHandler(IBlogUnitOfWork blogUnitOfWork, IMapper mapper) { _blogUnitOfWork = blogUnitOfWork; _mapper = mapper; }
/// <summary> /// Implementation of GetBlogSettigsQuery.Handler. /// </summary> /// <param name="uow">The blog unit of work.</param> /// <param name="fileUrlHelper">File URL helper.</param> /// <param name="blogOptions">Blog options.</param> public Handler(IBlogUnitOfWork uow, FileUrlHelper fileUrlHelper, IOptionsSnapshot <PineBlogOptions> blogOptions) { _uow = uow; _fileUrlHelper = fileUrlHelper; _blogOptions = blogOptions; }
public ArticleService(IBlogUnitOfWork uow) { _uow = uow; }
/// <summary> /// ctor /// </summary> /// <param name="unitofwork">The current Unit of Work</param> public VideoRepository(IBlogUnitOfWork unitofwork) : base(unitofwork) { this.currentunitofwork = unitofwork; }
public UserService(IBlogUnitOfWork uow) { _uow = uow; }
public UnlikeCommentHandler(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
public BlogComposeService(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
/// <summary> /// ctor /// </summary> /// <param name="unitofwork">current unit of work</param> public Repository(IBlogUnitOfWork unitofwork) { this.unitofwork = unitofwork; }
public SettingService(IBlogUnitOfWork blogUnitOfWork) { _blogUnitOfWork = blogUnitOfWork; }
/// <summary> /// Implementation of AddPostCommand.Handler. /// </summary> /// <param name="uow">The blog unit of work.</param> /// <param name="postUrlHelper">Post URL helper.</param> public Handler(IBlogUnitOfWork uow, PostUrlHelper postUrlHelper) { _uow = uow; _postUrlHelper = postUrlHelper; }
public ManagePostController(IServiceCollection collection, ILogger <ManagePostController> logger, IBlogUnitOfWork blogUnitOfWork)//:/*base(collection, logger)*/ { _blogUnitOfWork = blogUnitOfWork; }