Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Frontend controller error #3148


User avatar
0
avanekar02 created

Hello

i am getting this erro when i am creating a new frontend controller, i checked and there is no duplicate definition of the same.

my controller class is as follows:

public ActionResult Index(GetCEOInput input) {

        var output = _ceoAppService.GetCEId(input);
        var model = new Samit.CmsProTest.Web.Ceo.Models.IndexViewModel(output);

        return View(model);
    }


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Does other pages works ? When you debug your app, can you reach this line ?

    return View(model);
    

    If other pages does not work, you can check AbpLanguages table to see if there are more than one of same language for a tenant.

  • User Avatar
    0
    avanekar02 created

    all other pages work and no it does not reach the return View(model);

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks.

    Does it enter the Controller's Action ?

    public ActionResult Index(GetCEOInput input)
    

    If so, can you share the code of your app service method GetCEId ?