Example #1
0
        public void TestCallForImageBlobStorageSASAsyncSetsSASToken()
        {
            registerService.Setup(s => s.RegisterForSASAsync(It.IsAny <RegisterViewModel>()));

            registerRepo.CallForImageBlobStorageSASAsync(getSimpleRegisterModel());

            repository.VerifyAll();
        }
Example #2
0
        private async Task GetUserSelfieAsync(RegisterViewModel registration)
        {
            await _RegisterRepo.CallForImageBlobStorageSASAsync(registration);

            registration.PictureStorageSASToken = _ResponseContent;
            await _RegisterRepo.SetUserRecordWithRegisterViewModelAsync(registration);

            await _Reposetory.GetUserSelfieFromStorageAsync();
        }
 public async Task SetAzureCredentialsAsync(RegisterViewModel model, string responseContent)
 {
     await _RegisterRepo.CallForImageBlobStorageSASAsync(model);
 }