Inhalte aufrufen

Profilbild

Edit Customer Controller parameter

customer controller edit parameter

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 arifin.wm

arifin.wm

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 33 Beiträge

Geschrieben: 24 June 2016 - 03:04

Dear All,

 

I've successfully added new entities and new additional fields. I also add new parameters in current CustomerController constructor (Smartstore.Web.Controllers.CustomerController). I got error when I click login button, it seems miss parameter that pass to the constructor. Please advise, where I can find method who call this constructor ? I've searched in all solution but can't find it.

 

Thanks

 

Best Regards,

Afin



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 24 June 2016 - 15:10

Controller constructor parameters are always automatically instantiated by Autofac.
See for example \src\Plugins\SmartStore.GoogleMerchantCenter\DependencyRegistrar.cs how to register new components.

Marcus Gesing

Smartstore AG