public bool Update(HashtagPostModel model) // update an existing record
        {
            HashtagPostModel x = Read(model.uid);

            x = model;
            return(_db.SaveChanges() == 1);
        }
 public bool Create(HashtagPostModel model) // add a new record to the DBMS
 {
     _db.HashtagPosts.Update(model);
     return(_db.SaveChanges() == 1);
 }