C# 클래스 DAL.Services.UserService

파일 보기 프로젝트 열기: kulish-alina/HR_Project 1 사용 예제들

공개 메소드들

메소드 설명
Add ( UserDTO userToAdd ) : UserDTO
Authentificate ( string login, string password ) : UserDTO

Perfoms accessing to user of specified login and password

AuthentificateAsync ( string login, string password ) : Task

Perfoms accessing to user of specified login and password async

Delete ( int id ) : bool
Get ( int id ) : UserDTO
Get ( object searchParameters ) : object
Update ( UserDTO entity ) : UserDTO
UserService ( IUnitOfWork uow ) : DAL.DTO

메소드 상세

Add() 공개 메소드

public Add ( UserDTO userToAdd ) : UserDTO
userToAdd UserDTO
리턴 UserDTO

Authentificate() 공개 메소드

Perfoms accessing to user of specified login and password
Is thrown, when there is no user with such a login and password
public Authentificate ( string login, string password ) : UserDTO
login string Application user login
password string User password (hashed)
리턴 UserDTO

AuthentificateAsync() 공개 메소드

Perfoms accessing to user of specified login and password async
Is thrown, when there is no user with such a login and password
public AuthentificateAsync ( string login, string password ) : Task
login string Application user login
password string User password (hashed)
리턴 Task

Delete() 공개 메소드

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

Get() 공개 메소드

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

Get() 공개 메소드

public Get ( object searchParameters ) : object
searchParameters object
리턴 object

Update() 공개 메소드

public Update ( UserDTO entity ) : UserDTO
entity UserDTO
리턴 UserDTO

UserService() 공개 메소드

public UserService ( IUnitOfWork uow ) : DAL.DTO
uow IUnitOfWork
리턴 DAL.DTO