C# Class BinaryStudio.TaskManager.Web.Controllers.AdminController

Inheritance: Controller
ファイルを表示 Open project: dv00d00/BinaryStudio.TaskManager

Public Methods

Method Description
AdminController ( IUserRepository userRepository, IProjectRepository projectRepository ) : System.Web.Mvc

Initializes a new instance of the AdminController class.

AdminPanel ( ) : System.Web.Mvc.ActionResult

The admin panel.

DeleteProject ( int projectId ) : System.Web.Mvc.ActionResult

The delete project.

DeleteUser ( int userId ) : System.Web.Mvc.ActionResult

The delete user.

DetailsProject ( int projectId ) : System.Web.Mvc.ActionResult

The details project.

DetailsUser ( int userId ) : System.Web.Mvc.ActionResult

The details user.

EditProject ( int projectId ) : System.Web.Mvc.ActionResult

The edit project.

EditUser ( int userId ) : System.Web.Mvc.ActionResult

The edit user.

ProjectsList ( ) : System.Web.Mvc.ActionResult

The projects list.

UsersList ( ) : System.Web.Mvc.ActionResult

The users list.

Private Methods

Method Description
DeleteProjectConfirmed ( int projectId ) : System.Web.Mvc.ActionResult
DeleteUserConfirmed ( int userId ) : System.Web.Mvc.ActionResult
EditProject ( Project project ) : System.Web.Mvc.ActionResult
EditUser ( User user ) : System.Web.Mvc.ActionResult

Method Details

AdminController() public method

Initializes a new instance of the AdminController class.
public AdminController ( IUserRepository userRepository, IProjectRepository projectRepository ) : System.Web.Mvc
userRepository IUserRepository /// The user repository. ///
projectRepository IProjectRepository /// The project repository. ///
return System.Web.Mvc

AdminPanel() public method

The admin panel.
public AdminPanel ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

DeleteProject() public method

The delete project.
public DeleteProject ( int projectId ) : System.Web.Mvc.ActionResult
projectId int /// The project id. ///
return System.Web.Mvc.ActionResult

DeleteUser() public method

The delete user.
public DeleteUser ( int userId ) : System.Web.Mvc.ActionResult
userId int /// The user id. ///
return System.Web.Mvc.ActionResult

DetailsProject() public method

The details project.
public DetailsProject ( int projectId ) : System.Web.Mvc.ActionResult
projectId int /// The project id. ///
return System.Web.Mvc.ActionResult

DetailsUser() public method

The details user.
public DetailsUser ( int userId ) : System.Web.Mvc.ActionResult
userId int /// The user id. ///
return System.Web.Mvc.ActionResult

EditProject() public method

The edit project.
public EditProject ( int projectId ) : System.Web.Mvc.ActionResult
projectId int /// The project id. ///
return System.Web.Mvc.ActionResult

EditUser() public method

The edit user.
public EditUser ( int userId ) : System.Web.Mvc.ActionResult
userId int /// The user id. ///
return System.Web.Mvc.ActionResult

ProjectsList() public method

The projects list.
public ProjectsList ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

UsersList() public method

The users list.
public UsersList ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult