public void Create(DalBlog e)
 {
     var blog = new Blog()
     {
         Title = e.Title,
         TimeAdded = DateTime.Now,
         UserId = e.UserId
     };
     _context.Set<Blog>().Add(blog);
     _context.SaveChanges();
 }
 public void Update(DalBlog entity)
 {
     throw new NotImplementedException();
 }