public async Task <ILimit> GetAsync(string clientId) { var entity = await _tableStorage.GetDataAsync(LimitEntity.GeneratePk(clientId), LimitEntity.GenerateRk(clientId)); return(entity); }
public Task AddAsync(string clientId, double limit, string asset) { return(_tableStorage.InsertOrReplaceAsync(LimitEntity.Create(clientId, limit, asset))); }