Пример #1
0
    public async Task <bool> SaveLocationAsync(UserLocation userLocation, CancellationToken ct = default(CancellationToken))
    {
        var insertOperation = TableOperation.InsertOrReplace(userLocation.ToUserLocationDTO());
        var res             = await table.ExecuteAsync(insertOperation, null, null, ct);

        return(res.HttpStatusCode / 100 == 2);
    }