public BlogRepository(BlogDatabase db)
 {
     this.db = db;
 }
 public BlogRepository()
 {
     db = new BlogDatabase();
 }