TRONIX Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tronix.Web.Services.WebUserService Class Reference

These are methods that only the web ui needs. this should patch us along until we get a chance to implement identity. More...

Public Member Functions

 WebUserService (IUserService userService, IUserLoginService userLoginService, ApplicationUserManager userManager, ITronixMailerService tronixMailerService, ITronixWebServerService webServerService)
 
int RegisterUser (User user, bool sendEmail=true)
 
int CreateUser (SaveUserDTO createUserDTO, int addBy)
 
void SendWelcomeEmail (User user, string generatePassword)
 
void SendWelcomeEmail (User user)
 
void SendPasswordChangedEmail (User user)
 
IdentityUser IdentityUser ()
 
IdentityUser GetUserProfileById (int id)
 

Detailed Description

These are methods that only the web ui needs. this should patch us along until we get a chance to implement identity.

Constructor & Destructor Documentation

◆ WebUserService()

Tronix.Web.Services.WebUserService.WebUserService ( IUserService  userService,
IUserLoginService  userLoginService,
ApplicationUserManager  userManager,
ITronixMailerService  tronixMailerService,
ITronixWebServerService  webServerService 
)

Member Function Documentation

◆ CreateUser()

int Tronix.Web.Services.WebUserService.CreateUser ( SaveUserDTO  createUserDTO,
int  addBy 
)

◆ GetUserProfileById()

IdentityUser Tronix.Web.Services.WebUserService.GetUserProfileById ( int  id)

◆ IdentityUser()

IdentityUser Tronix.Web.Services.WebUserService.IdentityUser ( )

◆ RegisterUser()

int Tronix.Web.Services.WebUserService.RegisterUser ( User  user,
bool  sendEmail = true 
)

◆ SendPasswordChangedEmail()

void Tronix.Web.Services.WebUserService.SendPasswordChangedEmail ( User  user)

◆ SendWelcomeEmail() [1/2]

void Tronix.Web.Services.WebUserService.SendWelcomeEmail ( User  user)

◆ SendWelcomeEmail() [2/2]

void Tronix.Web.Services.WebUserService.SendWelcomeEmail ( User  user,
string  generatePassword 
)

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