C# Класс RepositoryExample.Service.AccountService

Наследование: IAccountService
Показать файл Открыть проект

Открытые методы

Метод Описание
AccountService ( IWarcraftContext context ) : System.Data.Entity
GetByEmail ( string email ) : Account

Retrieve a single Account by Email

GetByEmailAndPassword ( string email, string password ) : Account

Retrieve a single Account by Email and Password

Insert ( Account account ) : Account

Insert a new Account

Приватные методы

Метод Описание
GetPasswordHash ( string password ) : string

Описание методов

AccountService() публичный Метод

public AccountService ( IWarcraftContext context ) : System.Data.Entity
context IWarcraftContext
Результат System.Data.Entity

GetByEmail() публичный Метод

Retrieve a single Account by Email
public GetByEmail ( string email ) : Account
email string
Результат RepositoryExample.Entity.Account

GetByEmailAndPassword() публичный Метод

Retrieve a single Account by Email and Password
public GetByEmailAndPassword ( string email, string password ) : Account
email string
password string
Результат RepositoryExample.Entity.Account

Insert() публичный Метод

Insert a new Account
public Insert ( Account account ) : Account
account RepositoryExample.Entity.Account
Результат RepositoryExample.Entity.Account