public PostController( PostService service, UserService userService, HttpContextExtensible httpContext, UserPostCategoryRepository userPostCategories, UserPostTagRepository userPostTags, PostTagRepository postTagRepository ) : base(service) { _userService = userService; _httpContext = httpContext; _userPostCategories = userPostCategories; _userPostTags = userPostTags; _postTagRepository = postTagRepository; }
public SqlServerPostRepository(SourceNetContext db, UserPostCategoryRepository userPostCategories, UserPostTagRepository userPostTags) : base(db) { _userPostTags = userPostTags; _userPostCategories = userPostCategories; }