0
If your model contain single object then follow below code:
@{
string testVal = Model.total_card
}
if your model contain multiple objects like returning employee list then:
@model IEnumerable<BookStore.Models.Category>
@if (Model != null)
{
foreach (var item in Model)
{
var total_card= item.total_card;
}
}