Spelling for Contact Model when referencing the model via class file
I installed Umbraco 7.6.3. via Nuget package through Visual Studio 2017. I'm walking through a tutorial on creating a contact form. I got to the point of creating a surface controller.
When I reference the model like so on top of my page...
using umb02.models;
...and I want to reference ContactModel in my private voide function, Visual Studio tells me that the following is correct....
Spelling for Contact Model when referencing the model via class file
I installed Umbraco 7.6.3. via Nuget package through Visual Studio 2017. I'm walking through a tutorial on creating a contact form. I got to the point of creating a surface controller.
When I reference the model like so on top of my page...
...and I want to reference ContactModel in my private voide function, Visual Studio tells me that the following is correct....
Shouldn't CnotactModel be ContactModel?
Thanks
CnotactModel should be CnotactModel, but please check your solution, press F12 on CnotactModel and look how a class called.
Thanks,
Alex
Ah I understand now! Thanks for clearing that up!
is working on a reply...