System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at JCT.AutoMapper.MapDynamic[T](IEnumerable`1 dynamicListOfProperties) in D:\New folder\Src\Shared\Framework\Data\AutoMapper.cs:line 102 at JCT.OnlineTests.Repositories.TestRepository.GetByCode(String testCode) in D:\New folder\Src\Modules\OnlineTests\Repositories\TestRepository.cs:line 101 at JCT.OnlineTests.Services.TestService.GetTest(String testCode, String chapterId) in D:\New folder\Src\Modules\OnlineTests\Services\TestService.cs:line 116 at JCT.Website.Controllers.TestsController.Index(String testcode, String testname, Nullable`1 instanceId, Nullable`1 questionNumber, Nullable`1 timeLeft, Nullable`1 testId) in D:\New folder\Src\Web\Website\Controllers\TestsController.cs:line 844