using System.Collections.Generic; namespace Forum.DataAccessLayer.Models { public class Category { public int Id { get; set; } public string CategoryName { get; set; } public virtual ICollection<Question> Questions { get; set; } } }