public class WhiteoutViewModel { public List Servers { get; set; } public List Whiteouts { get; set; } public List Fields { get; set; } public ArrayList Hours {get;set;} public ArrayList Minutes {get;set;} public ArrayList AMPM {get;set;} public ArrayList RepeatList{get;set;} } I have created a view based on this Viewmodel. Now I need a partial view which should be of type Whiteouts . I have created a whiteout class and added some properties in it. public class WhiteoutDTO { public int WhiteoutId { get; set; } public int FieldId { get; set; } public int StartHour { get; set; } public int StartMinute { get; set; } public string StartTime { get; set; } public int EndHour { get; set; } public int EndMinute { get; set; } public string EndTime { get; set; } public string Repeats { get; set; } public bool IsActive { get; set; } public enmDays Days { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)