Hi Expert,
Please give me some solution to take List type data in razor view which is return by method of controller.
Here is my Controller code:
return View(Uow.TechnologyMasterRepository.GetAll().Where(x => x.Name.Contains(s)).ApplySortingPagingToList(sortingPaging));
and Razor View code:
@model MindStickInterview.Data.TechnologyMaster
In razor view error raised while we run project.
Please give me solution to accomplish this task.
Hemant Patel
14-Dec-2017Hi Mary,
I analyzed your code. You are missing some code in your razor view.
Please follow below line of code.
Hope its helpful for you !!!!