C# Class HealthInformationProgram.DAL.UserAdministrationRepository

Show file Open project: MedicalTeams/Hip_Admin

Public Methods

Method Description
AddUserRole ( System.Guid userId, System.Guid roleId, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : userrole
DeleteAllRolesForUser ( System.Guid userId, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : void
GetUserFromEmail ( string eMailAddress, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : user
SaveUser ( user userToSave, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : user

Method Details

AddUserRole() public method

public AddUserRole ( System.Guid userId, System.Guid roleId, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : userrole
userId System.Guid
roleId System.Guid
mtiUserRolesEntityDataModel HealthInformationProgram.Models.MTIUserRolesEntityDataModel
return HealthInformationProgram.Models.userrole

DeleteAllRolesForUser() public method

public DeleteAllRolesForUser ( System.Guid userId, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : void
userId System.Guid
mtiUserRolesEntityDataModel HealthInformationProgram.Models.MTIUserRolesEntityDataModel
return void

GetUserFromEmail() public method

public GetUserFromEmail ( string eMailAddress, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : user
eMailAddress string
mtiUserRolesEntityDataModel HealthInformationProgram.Models.MTIUserRolesEntityDataModel
return HealthInformationProgram.Models.user

SaveUser() public method

public SaveUser ( user userToSave, MTIUserRolesEntityDataModel mtiUserRolesEntityDataModel ) : user
userToSave HealthInformationProgram.Models.user
mtiUserRolesEntityDataModel HealthInformationProgram.Models.MTIUserRolesEntityDataModel
return HealthInformationProgram.Models.user