C# Class TeamBins.DataAccessCore.UserRepository

Inheritance: BaseRepo, IUserRepository
Datei anzeigen Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
CreateAccount ( UserAccountDto userAccount ) : Task
EmailSubscriptions ( int userId, int teamId ) : Task>
GetPasswordResetRequest ( string activationCode ) : Task
GetTeams ( int userId ) : Task>
GetUser ( int id ) : Task
GetUser ( string email ) : Task
SaveDefaultIssueSettings ( DefaultIssueSettings model ) : System.Threading.Tasks.Task
SaveNotificationSettings ( UserEmailNotificationSettingsVM model ) : System.Threading.Tasks.Task
SavePasswordResetRequest ( PasswordResetRequest passwordResetRequest ) : System.Threading.Tasks.Task
SaveUserProfile ( EditProfileVm userProfileVm ) : System.Threading.Tasks.Task
SetDefaultTeam ( int userId, int teamId ) : System.Threading.Tasks.Task
UpdateLastLoginTime ( int userId ) : System.Threading.Tasks.Task
UpdatePassword ( string password, int userId ) : System.Threading.Tasks.Task
UserRepository ( IConfiguration configuration ) : System

Method Details

CreateAccount() public method

public CreateAccount ( UserAccountDto userAccount ) : Task
userAccount UserAccountDto
return Task

EmailSubscriptions() public method

public EmailSubscriptions ( int userId, int teamId ) : Task>
userId int
teamId int
return Task>

GetPasswordResetRequest() public method

public GetPasswordResetRequest ( string activationCode ) : Task
activationCode string
return Task

GetTeams() public method

public GetTeams ( int userId ) : Task>
userId int
return Task>

GetUser() public method

public GetUser ( int id ) : Task
id int
return Task

GetUser() public method

public GetUser ( string email ) : Task
email string
return Task

SaveDefaultIssueSettings() public method

public SaveDefaultIssueSettings ( DefaultIssueSettings model ) : System.Threading.Tasks.Task
model TeamBins.Common.ViewModels.DefaultIssueSettings
return System.Threading.Tasks.Task

SaveNotificationSettings() public method

public SaveNotificationSettings ( UserEmailNotificationSettingsVM model ) : System.Threading.Tasks.Task
model TeamBins.Common.ViewModels.UserEmailNotificationSettingsVM
return System.Threading.Tasks.Task

SavePasswordResetRequest() public method

public SavePasswordResetRequest ( PasswordResetRequest passwordResetRequest ) : System.Threading.Tasks.Task
passwordResetRequest TeamBins.Common.ViewModels.PasswordResetRequest
return System.Threading.Tasks.Task

SaveUserProfile() public method

public SaveUserProfile ( EditProfileVm userProfileVm ) : System.Threading.Tasks.Task
userProfileVm TeamBins.Common.ViewModels.EditProfileVm
return System.Threading.Tasks.Task

SetDefaultTeam() public method

public SetDefaultTeam ( int userId, int teamId ) : System.Threading.Tasks.Task
userId int
teamId int
return System.Threading.Tasks.Task

UpdateLastLoginTime() public method

public UpdateLastLoginTime ( int userId ) : System.Threading.Tasks.Task
userId int
return System.Threading.Tasks.Task

UpdatePassword() public method

public UpdatePassword ( string password, int userId ) : System.Threading.Tasks.Task
password string
userId int
return System.Threading.Tasks.Task

UserRepository() public method

public UserRepository ( IConfiguration configuration ) : System
configuration IConfiguration
return System