Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model IEnumerable<XXXX.Models.Enrollment>
- @ @using XXXX.Models
- @{
- var someName = from f in XXXX. Models where n.name== someValue select n;
- }
- public class CompositeViewModel
- {
- public ViewModel1 Model1 { get; set; }
- public ViewModel1 Model2 { get; set; }
- }
- @model IEnumerable<XXXX.Models.Enrollment>
- ViewBag.Model2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement