Controller
For information regarding Controllers, click the images below
- Each controller must implement the IController interface directly or indirectly, this must be done using the BaseController
namespace SignifyHR.Areas.Portal.Controllers
{
public class HomeController : BaseController
{
[UserTranslationFilter]
public ActionResult Index(PortalTabs? activeTab)
{
var model = new HomeViewModel(SessionHandler, activeTab)
{
Title = TranslationResources.PageHeadingsLmsPortal,
};
return View(model);
}
}
- TODO from v8 - MVC Examples
https://signature.signifyhr.co.za/books/tools/page/v8---mvc-development/edit
When to use ActionResult and JSONResult
Link to exception
AllowGet
Follow C# standards