Skip to content

Split HomeController.cs Sections to Separate Files #10

@kkevn

Description

@kkevn

Edit - 6/9/2022: Updated issue to mention administrator related items.

The HomeController.cs file contains many methods and is a lengthy file. It is divided into a few sections also containing items pertaining to creating/removing/viewing/etc... of:

  • friends of current user
  • games of current user
  • scores of current user
  • administrator access

Ideally, this file should be split into a few separate controller classes to improve readability:

  • moved friend-related methods to FriendController.cs
  • moved game-related methods to GamesController.cs
  • moved score-related methods to ScoresController.cs
  • moved admin-related methods to AdminController.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions