public async Task <IProjectResultData> GetAsync(string projectId, string participantId)
        {
            var partitionKey = ProjectResultEntity.GeneratePartitionKey(projectId);
            var rowKey       = ProjectResultEntity.GenerateRowKey(participantId);

            return(await _projectResultInfoTableStorage.GetDataAsync(partitionKey, rowKey));
        }
        public Task UpdateAsync(IProjectResultData resultData)
        {
            var partitionKey = ProjectResultEntity.GeneratePartitionKey(resultData.ProjectId);
            var rowKey       = ProjectResultEntity.GenerateRowKey(resultData.ParticipantId);

            return(_projectResultInfoTableStorage.ReplaceAsync(partitionKey, rowKey, itm =>
            {
                itm.Update(resultData);
                return itm;
            }));
        }
        public async Task <IEnumerable <IProjectResultData> > GetResultsAsync(string projectId)
        {
            var partitionKey = ProjectResultEntity.GeneratePartitionKey(projectId);

            return(await _projectResultInfoTableStorage.GetDataAsync(partitionKey));
        }