C# Class GoInsp.ViewModel.UsersViewModel

Inheritance: BaseViewModel
Datei anzeigen Open project: robhendriks/goinsp

Public Properties

Property Type Description
companyRepo CompanyRepository
roleRepo RoleRepository
userRepo UserRepository
userRoleRepo UserRoleRepository

Public Methods

Method Description
PopulateAvailableRoles ( ) : void
PopulateCompanies ( ) : void
PopulateUsedRoles ( ) : void
ToggleLightBoxOff ( ) : void
UsersViewModel ( ) : System

Protected Methods

Method Description
OnChangeToAvailable ( ) : void
OnChangeToUsed ( ) : void

Private Methods

Method Description
AddUserTab ( ) : void
DeleteUserTab ( ) : void
GetByUserIDAndRoleID ( int userID, int roleID ) : UserRole
Populate ( ) : void
SaveUser ( ) : void

Method Details

OnChangeToAvailable() protected method

protected OnChangeToAvailable ( ) : void
return void

OnChangeToUsed() protected method

protected OnChangeToUsed ( ) : void
return void

PopulateAvailableRoles() public method

public PopulateAvailableRoles ( ) : void
return void

PopulateCompanies() public method

public PopulateCompanies ( ) : void
return void

PopulateUsedRoles() public method

public PopulateUsedRoles ( ) : void
return void

ToggleLightBoxOff() public method

public ToggleLightBoxOff ( ) : void
return void

UsersViewModel() public method

public UsersViewModel ( ) : System
return System

Property Details

companyRepo public_oe property

public CompanyRepository companyRepo
return CompanyRepository

roleRepo public_oe property

public RoleRepository roleRepo
return RoleRepository

userRepo public_oe property

public UserRepository userRepo
return UserRepository

userRoleRepo public_oe property

public UserRoleRepository userRoleRepo
return UserRoleRepository