Hi,
I want to use variable into layout. I have a model and table in database that is below.
how to pass variable into layout in logic ?
public class WebSiteSetting { public int WebSiteSettingId { get; set; } public string Title { get; set; } public string Description { get; set; } public string LogoImage { get; set; } public string Facebook { get; set; } public string Twitter { get; set; } public string LinkedIn { get; set; } public string Youtube { get; set; } public string Google { get; set; } public string Address { get; set; } public string Telephone { get; set; } public string Fax { get; set; } public string Email { get; set; } public bool LoginIsHome { get; set; } public bool CartIsHome { get; set; } public bool CategoriesIsHome { get; set; } public bool FavoritesIsHome { get; set; } public bool BrandsIsHome { get; set; } }