var id = button.data('id');
@{
User editingUser = Model.Where(x => x.ID = id).FirstOrDefault();
}
What do you mean?
The id variable is defined in js I want to pass it to ASP and use it in linq
Обсуждают сегодня