C# 클래스 BAL.Manager.UserManager

상속: BAL.Manager.BaseManager, IUserManager
파일 보기 프로젝트 열기: CH033dotNET/Taxi 1 사용 예제들

공개 메소드들

메소드 설명
AddUser ( RegistrationModelDTO user ) : UserDTO
CalculateUserRating ( int id ) : void
ChangeUserParameters ( UserDTO user ) : void
DeleteUser ( int userId ) : void
GerRoleForUser ( RegistrationModelDTO user ) : Role
GerRoleForUser ( UserDTO user ) : Role
GetByEmail ( string email, string password ) : UserDTO
GetById ( int id ) : UserDTO
GetByUserName ( string login, string password ) : UserDTO
GetCurrentDrivers ( int id ) : List
GetCurrentDriversLastMonth ( int id ) : List
GetDrivers ( ) : List
GetDriversExceptCurrent ( int id ) : List
GetDriversWithOrders ( ) : IEnumerable
GetDriversWithOrdersLastMonth ( ) : IEnumerable
GetQueryableDrivers ( ) : IQueryable
GetUserPage ( string searchString, int page, int pageSize, int roleId ) : PagerDTO
GetUsers ( ) : IEnumerable
GetVIPClients ( ) : IQueryable
IfEmailExists ( string email ) : bool
IfUserNameExists ( string userName ) : bool
InsertUser ( UserDTO user ) : UserDTO
IsAdministratorById ( int id ) : bool
IsUserNameCorrect ( string name ) : bool
SetClientBonus ( int userId, double bonus, double paidByBonus ) : void
SetVIPStatus ( int userId ) : void
UpdatePassword ( string login, string password ) : void
UpdateUser ( UserDTO user ) : UserDTO
UserManager ( IUnitOfWork uOW ) : Common.System
UserValidation ( UserDTO user, List msgs ) : bool
deleteVIPById ( int id ) : void

메소드 상세

AddUser() 공개 메소드

public AddUser ( RegistrationModelDTO user ) : UserDTO
user Model.DTO.RegistrationModelDTO
리턴 UserDTO

CalculateUserRating() 공개 메소드

public CalculateUserRating ( int id ) : void
id int
리턴 void

ChangeUserParameters() 공개 메소드

public ChangeUserParameters ( UserDTO user ) : void
user UserDTO
리턴 void

DeleteUser() 공개 메소드

public DeleteUser ( int userId ) : void
userId int
리턴 void

GerRoleForUser() 공개 메소드

public GerRoleForUser ( RegistrationModelDTO user ) : Role
user Model.DTO.RegistrationModelDTO
리턴 Role

GerRoleForUser() 공개 메소드

public GerRoleForUser ( UserDTO user ) : Role
user UserDTO
리턴 Role

GetByEmail() 공개 메소드

public GetByEmail ( string email, string password ) : UserDTO
email string
password string
리턴 UserDTO

GetById() 공개 메소드

public GetById ( int id ) : UserDTO
id int
리턴 UserDTO

GetByUserName() 공개 메소드

public GetByUserName ( string login, string password ) : UserDTO
login string
password string
리턴 UserDTO

GetCurrentDrivers() 공개 메소드

public GetCurrentDrivers ( int id ) : List
id int
리턴 List

GetCurrentDriversLastMonth() 공개 메소드

public GetCurrentDriversLastMonth ( int id ) : List
id int
리턴 List

GetDrivers() 공개 메소드

public GetDrivers ( ) : List
리턴 List

GetDriversExceptCurrent() 공개 메소드

public GetDriversExceptCurrent ( int id ) : List
id int
리턴 List

GetDriversWithOrders() 공개 메소드

public GetDriversWithOrders ( ) : IEnumerable
리턴 IEnumerable

GetDriversWithOrdersLastMonth() 공개 메소드

public GetDriversWithOrdersLastMonth ( ) : IEnumerable
리턴 IEnumerable

GetQueryableDrivers() 공개 메소드

public GetQueryableDrivers ( ) : IQueryable
리턴 IQueryable

GetUserPage() 공개 메소드

public GetUserPage ( string searchString, int page, int pageSize, int roleId ) : PagerDTO
searchString string
page int
pageSize int
roleId int
리턴 PagerDTO

GetUsers() 공개 메소드

public GetUsers ( ) : IEnumerable
리턴 IEnumerable

GetVIPClients() 공개 메소드

public GetVIPClients ( ) : IQueryable
리턴 IQueryable

IfEmailExists() 공개 메소드

public IfEmailExists ( string email ) : bool
email string
리턴 bool

IfUserNameExists() 공개 메소드

public IfUserNameExists ( string userName ) : bool
userName string
리턴 bool

InsertUser() 공개 메소드

public InsertUser ( UserDTO user ) : UserDTO
user UserDTO
리턴 UserDTO

IsAdministratorById() 공개 메소드

public IsAdministratorById ( int id ) : bool
id int
리턴 bool

IsUserNameCorrect() 공개 메소드

public IsUserNameCorrect ( string name ) : bool
name string
리턴 bool

SetClientBonus() 공개 메소드

public SetClientBonus ( int userId, double bonus, double paidByBonus ) : void
userId int
bonus double
paidByBonus double
리턴 void

SetVIPStatus() 공개 메소드

public SetVIPStatus ( int userId ) : void
userId int
리턴 void

UpdatePassword() 공개 메소드

public UpdatePassword ( string login, string password ) : void
login string
password string
리턴 void

UpdateUser() 공개 메소드

public UpdateUser ( UserDTO user ) : UserDTO
user UserDTO
리턴 UserDTO

UserManager() 공개 메소드

public UserManager ( IUnitOfWork uOW ) : Common.System
uOW IUnitOfWork
리턴 Common.System

UserValidation() 공개 메소드

public UserValidation ( UserDTO user, List msgs ) : bool
user UserDTO
msgs List
리턴 bool

deleteVIPById() 공개 메소드

public deleteVIPById ( int id ) : void
id int
리턴 void