C# Class FRS.Implementation.Services.RegisterUserService

Register User Service
Inheritance: IRegisterUserService
Afficher le fichier Open project: innoist/GF-FRS

Méthodes publiques

Méthode Description
GetMaxUserDomainKey ( ) : double

Gives the maximum domain key from the records

IsCompanyUrlAvailable ( string url ) : bool

To check if URL is available

RegisterUserService ( IUserRepository userRepository, IUserDetailsRepository userDetailsRepository ) : System

Constructor

SaveUserDetails ( AspNetUser addedUser, RegisterViewModel model ) : void

Saves user details provided while signup

SetupUserDefaultData ( string userId ) : void

Executes store procedure for copying default data for newly registered user

Method Details

GetMaxUserDomainKey() public méthode

Gives the maximum domain key from the records
public GetMaxUserDomainKey ( ) : double
Résultat double

IsCompanyUrlAvailable() public méthode

To check if URL is available
public IsCompanyUrlAvailable ( string url ) : bool
url string
Résultat bool

RegisterUserService() public méthode

Constructor
public RegisterUserService ( IUserRepository userRepository, IUserDetailsRepository userDetailsRepository ) : System
userRepository IUserRepository
userDetailsRepository IUserDetailsRepository
Résultat System

SaveUserDetails() public méthode

Saves user details provided while signup
public SaveUserDetails ( AspNetUser addedUser, RegisterViewModel model ) : void
addedUser FRS.Models.IdentityModels.AspNetUser
model FRS.Models.IdentityModels.ViewModels.RegisterViewModel
Résultat void

SetupUserDefaultData() public méthode

Executes store procedure for copying default data for newly registered user
public SetupUserDefaultData ( string userId ) : void
userId string
Résultat void