public void MarkAsRead(int notificationId)
 {
     try
     {
         var notification = _context.Notifications.Find(notificationId);
         _context.Remove(notification);
         _context.SaveChanges();
     }
     catch (Exception e)
     {
     }
 }
 public void Create(UserProfile profile, UserSettings settings)
 {
     context.UserProfiles.Add(profile);
     context.UserSettings.Add(settings);
     context.SaveChanges();
 }
 public void Create(TEntity item)
 {
     model.Add(item);
     context.SaveChanges();
 }