public Task RemoveBadgeAsync(string id)
        {
            string partitionKey = MenuBadgeEntity.GeneratePartitionKey();
            string rowKey       = MenuBadgeEntity.GenerateRowKey(id);

            return(_tableStorage.DeleteAsync(partitionKey, rowKey));
        }
        public async Task <IEnumerable <IMenuBadge> > GetBadesAsync()
        {
            string partitionKey = MenuBadgeEntity.GeneratePartitionKey();

            return(await _tableStorage.GetDataAsync(partitionKey));
        }
        public Task SaveBadgeAsync(string id, string value)
        {
            MenuBadgeEntity entity = MenuBadgeEntity.Create(id, value);

            return(_tableStorage.InsertOrReplaceAsync(entity));
        }