public NotificationComments Create(NotificationComments itemToCreate)
        {
            var comment = _context.NotificationComments.Add(itemToCreate);

            _context.SaveChanges();
            return(comment);
        }
 public NotificationComments Update(NotificationComments itemToUpdate)
 {
     _context.Entry(itemToUpdate).State = EntityState.Modified;
     return(itemToUpdate);
 }
 public void Delete(NotificationComments itemToDelete)
 {
     _context.NotificationComments.Remove(itemToDelete);
     _context.SaveChanges();
 }