/// <summary>
 /// Updates notification preferences
 /// </summary>
 /// <param name="preferences"></param>
 public async Task UpdateNotificationPreferences(auth0documentdb.Models.Db.NotificationPreferences preferences)
 {
     await _provider.UpdateItem <auth0documentdb.Models.Db.NotificationPreferences>(preferences, preferences.Id);
 }
 /// <summary>
 /// Adds notification preferences
 /// </summary>
 /// <param name="preferences"></param>
 /// <returns></returns>
 public async Task <string> AddNotificationPreferences(auth0documentdb.Models.Db.NotificationPreferences preferences)
 {
     return(await _provider.AddItem <auth0documentdb.Models.Db.NotificationPreferences>(preferences));
 }