C# Class Tailspin.Surveys.Web.Controllers.HomeController

This controller provides MVC actions for the Home, Error and Forbidden experiences.
Inheritance: Microsoft.AspNet.Mvc.Controller
ファイルを表示 Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Public Methods

Method Description
Details ( int id ) : IActionResult

This action provides a placeholder for the experience of taking a Tailspin.Surveys.Data.DataModels.Survey.

Error ( ) : IActionResult

This action provides a general error experience.

Forbidden ( ) : IActionResult

This action provides a forbidden access experience.

HomeController ( ISurveyService surveyService ) : System.Threading.Tasks
Index ( ) : Task

This action provides the Home experience.

Method Details

Details() public method

This action provides a placeholder for the experience of taking a Tailspin.Surveys.Data.DataModels.Survey.
public Details ( int id ) : IActionResult
id int The id of a
return IActionResult

Error() public method

This action provides a general error experience.
public Error ( ) : IActionResult
return IActionResult

Forbidden() public method

This action provides a forbidden access experience.
public Forbidden ( ) : IActionResult
return IActionResult

HomeController() public method

public HomeController ( ISurveyService surveyService ) : System.Threading.Tasks
surveyService ISurveyService
return System.Threading.Tasks

Index() public method

This action provides the Home experience.
public Index ( ) : Task
return Task