This doesn’t really look so clean. Can I simplify this by putting all in just one curly brace?
@model Test.WebUx.Areas.Administration.ViewModels
@using Test.Shared.ExtensionMethods;
@{ Layout = "~/Areas/Administration/Views/_locs.cshtml"; }
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The @model directive is required and has to be on it’s own I believe.
You can however move “Text.Shared.ExtensionMethods” into the namespaces element in the web.config file in your Views folder and it will be imported on all of your views. This is especially useful if these functions are used in multiple views.