public Task UpdateAsync(string clientId, string id, string state) { return(_tableStorage.MergeAsync(RefundEntity.GetPk(clientId), RefundEntity.GetRk(id), entity => { entity.State = state; entity.UpdatedAt = DateTime.UtcNow; return entity; })); }
public async Task <IRefund> GetAsync(string clientId, string id) { return(await _tableStorage.GetDataAsync(RefundEntity.GetPk(clientId), RefundEntity.GetRk(id))); }