C# Class Courses.Buisness.Authorization.AuthorizationService

Inheritance: IAuthorizationService
Mostra file Open project: denismaster/dotnet01

Public Methods

Method Description
AuthorizationService ( Models repository ) : System
FindById ( int id ) : User
FindByName ( string username ) : User

Method Details

AuthorizationService() public method

public AuthorizationService ( Models repository ) : System
repository Models
return System

FindById() public method

public FindById ( int id ) : User
id int
return Courses.Models.User

FindByName() public method

public FindByName ( string username ) : User
username string
return Courses.Models.User