ScientificReport
ScientificReport.Controllers.UserProfileController Class Reference
Inheritance diagram for ScientificReport.Controllers.UserProfileController:
Inheritance graph
Collaboration diagram for ScientificReport.Controllers.UserProfileController:
Collaboration graph

Public Member Functions

 UserProfileController (UserManager< UserProfile > usrMgr, SignInManager< UserProfile > signInManager, RoleManager< UserProfileRole > roleManager, IUserProfileService userProfileService, IDepartmentService departmentService, IStringLocalizer< UserProfileController > localizer)
 
IActionResult Index (UserProfileIndexModel model)
 
async Task< IActionResult > Details (Guid?id)
 
async Task< IActionResult > Edit (Guid?id)
 
IActionResult Edit (Guid?id, UserProfileEditModel model)
 
async Task< IActionResult > AddUserToAdministration (Guid?id, [FromBody] UserProfileUpdateRolesRequest request)
 
async Task< IActionResult > RemoveUserFromAdministration (Guid?id, [FromBody] UserProfileUpdateRolesRequest request)
 
IActionResult Delete (Guid?id)
 
IActionResult SetActive (Guid?id, bool isActive)
 
IActionResult Register ()
 
async Task< IActionResult > Register (RegisterModel model)
 
IActionResult Login ()
 
async Task< IActionResult > Login (LoginModel model)
 
async Task< IActionResult > Logout ()
 
IActionResult ChangePassword ()
 
async Task< IActionResult > ChangePassword (ChangePasswordModel model)
 

Detailed Description

Definition at line 17 of file UserProfileController.cs.

Constructor & Destructor Documentation

ScientificReport.Controllers.UserProfileController.UserProfileController ( UserManager< UserProfile usrMgr,
SignInManager< UserProfile signInManager,
RoleManager< UserProfileRole roleManager,
IUserProfileService  userProfileService,
IDepartmentService  departmentService,
IStringLocalizer< UserProfileController localizer 
)

Definition at line 27 of file UserProfileController.cs.

Member Function Documentation

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.AddUserToAdministration ( Guid?  id,
[FromBody] UserProfileUpdateRolesRequest  request 
)

Definition at line 232 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.ChangePassword ( )

Definition at line 501 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.ChangePassword ( ChangePasswordModel  model)

Definition at line 517 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.Delete ( Guid?  id)

Definition at line 307 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.Details ( Guid?  id)

Definition at line 57 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.Edit ( Guid?  id)

Definition at line 104 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.Edit ( Guid?  id,
UserProfileEditModel  model 
)

Definition at line 158 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.Index ( UserProfileIndexModel  model)

Definition at line 47 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.Login ( )

Definition at line 446 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.Login ( LoginModel  model)

Definition at line 460 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.Logout ( )

Definition at line 493 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.Register ( )

Definition at line 370 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.Register ( RegisterModel  model)

Definition at line 384 of file UserProfileController.cs.

async Task<IActionResult> ScientificReport.Controllers.UserProfileController.RemoveUserFromAdministration ( Guid?  id,
[FromBody] UserProfileUpdateRolesRequest  request 
)

Definition at line 266 of file UserProfileController.cs.

IActionResult ScientificReport.Controllers.UserProfileController.SetActive ( Guid?  id,
bool  isActive 
)

Definition at line 338 of file UserProfileController.cs.


The documentation for this class was generated from the following file: