I created my custom controller using LeBlender, it works good on frontend, but in backoffice its throwing an error in my grid as i have my custom model view an it expects LeBlender model and it should be MyClass model.
How to solve this problem in backoffice?
public MyClass : RenderModel
{
// do some stuff
}
public MyController : LeBlenderController {
public ActionResult Index(LeBlenderModel model) {
//do some stuff
}
}
LeBlender Custom Model vs Backoffice
I created my custom controller using LeBlender, it works good on frontend, but in backoffice its throwing an error in my grid as i have my custom model view an it expects LeBlender model and it should be MyClass model.
How to solve this problem in backoffice?
is working on a reply...