HomeController Class

HomeController is responsible for generating the response to the browser request.
public class HomeController : Controller
This language is not supported or no code example is available.
Name Description
Public constructor HomeController(ILogger<HomeController>, FPTVContext) Constructor for HomeController class.
Top
Methods
 
Name Description
Public method About() This action method returns the About page view.
Public method BugsAndSuggestions()
Public method CSGO(string) Redirects to the specified page in the Home controller with the game parameter set to "csgo".
Public method CSGOStats()
Public method ConfirmDelete() Returns a view for confirming the deletion of an item.
Public method Error()
Public method Error403() Returns the Error403 view.
Public method Error404() Returns the Error404 view.
Public method Events(string) Redirects to the Index action of the Events page with the specified parameters.
Public method Forum(string)
Public method ForumRules()
Public method Index(string) This method is used to get the API matches for Valorant and CSGO.
Public method LoginRegister() This method returns the LoginRegister view.
Public method MatchDetails() Redirects to the Matches action of the MatchDetails controller.
Public method Matches(string) Redirects to the Index action of the Matches page with the specified parameters.
Public method NewTopic()
Public method PlayerAndStats()
Public method Privacy() Returns the Privacy page view.
Public method Register() This method returns the view for the Register page.
Public method Results(string) Redirects to the Results action with the specified game.
Public method SendEmail() This method returns the view for the Index page.
Public method Stats()
Public method TeamStats()
Public method Test() This method returns the view for the Index page.
Public method Topic()
Public method VALORANT(string) Redirects to the specified page in the Home controller with the game parameter set to "valorant".
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition