Exemple #1
0
        public async Task <ApplicationResult> EnqueueToDownloadAsync(string userId, int submissionId)
        {
            var(acountId, accountName) = await _accountBusiness.GetSpojAccountUsernameAsync(userId);

            await _submissionBusiness.InstantDownLoadSubmissionAsync(acountId, accountName, submissionId);

            return(ApplicationResult.Ok());
        }