---
title: "How to receive List Type Data in razor view"  
description: "How to receive List Type Data in razor view"  
author: "Anonymous User"  
published: 2017-12-14  
updated: 2017-12-14  
canonical: https://www.mindstick.com/forum/34396/how-to-receive-list-type-data-in-razor-view  
category: "c#"  
tags: ["c#", "asp.net", "asp.net mvc", "mvc4", "razor"]  
reading_time: 1 minute  

---

# How to receive List Type Data in razor view

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),

Please give me some solution to take List type [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) in [razor view](https://www.mindstick.com/forum/155820/how-to-generate-textbox-control-using-htmlhelper-in-razor-view) which is return by [method](https://www.mindstick.com/forum/166/webservice-method) of [controller](https://www.mindstick.com/blog/273/passing-values-from-controller-to-view-in-asp-dot-net-mvc).

Here is my Controller [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii):

```
 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](https://yourviews.mindstick.com/view/88527/fixing-quickbooks-error-4120-reinstalling-vs-repairing) raised while we run project.

Please give me solution to accomplish this task.

## Replies

### Reply by Hemant Patel

Hi Mary,

I analyzed your code. You are missing some code in your [razor](https://www.mindstick.com/articles/12002/asp-dot-net-mvc5-razor-with-jquery) [view](https://yourviews.mindstick.com/view/84701/layoffs-in-google-india-2023-view).

Please follow below line of code.

```
@model IEnumerable<MindStickInterview.Data.TechnologyMaster>
```

Hope its helpful for you !!!!


---

Original Source: https://www.mindstick.com/forum/34396/how-to-receive-list-type-data-in-razor-view

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
