public async Task InsertOrReplaceAsync(Funding funding) { var entity = new FundingEntity(GetPartitionKey(), GetRowKey()); Mapper.Map(funding, entity); await _storage.InsertOrReplaceAsync(entity); }
public async Task <Funding> GetAsync() { FundingEntity entity = await _storage.GetDataAsync(GetPartitionKey(), GetRowKey()); return(Mapper.Map <Funding>(entity)); }