Exemplo n.º 1
0
 public Task <bool> AddCoffee(string name, double latitude, double longitude)
 {
     return(table.AddAsync(new Coffee
     {
         Name = name,
         Latitude = latitude,
         Longitude = longitude
     }));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds an item to the table.
 /// </summary>
 /// <param name="item">The item to add to the table.</param>
 public async Task AddItemAsync(T item)
 {
     await table.AddAsync(item);
 }
Exemplo n.º 3
0
 public Task <bool> AddCache(Cache cache)
 {
     return(cacheTable.AddAsync(cache));
 }
Exemplo n.º 4
0
 public Task AddItemAsync(TEntity item)
 {
     return(_table.AddAsync(item));
 }