An error occurred when trying to create a controller of type 'MvcCms.Web.Controllers.HomeController'. Make sure that the controller has a parameterless public constructor.
Fails here first
public IEnumerable<ContentCategory> ListAllCategories()
{
return (from c in _entities.ContentCategorySet
.Include("ParentCategory")
.Include("SubCategories")
.Include("Portal")
orderby c.ParentCategory.CategoryID, c.Importance, c.Title
select c).ToList();
}
_entities is null
Then with a refresh get the above error message.
Fails here first
public IEnumerable<ContentCategory> ListAllCategories()
{
return (from c in _entities.ContentCategorySet
.Include("ParentCategory")
.Include("SubCategories")
.Include("Portal")
orderby c.ParentCategory.CategoryID, c.Importance, c.Title
select c).ToList();
}
_entities is null
Then with a refresh get the above error message.
3 months 19 days
ago by
wlgray
