public BlogRepository(BlogContext _context) //dependency injection { Context = _context; }
public BlogRepository() { Context = new BlogContext(); }