C# Class LetMeRate.Application.Services.AccountService

Inheritance: IAccountService
Exibir arquivo Open project: cairey/Let-Me-Rate-NancyFX

Public Methods

Method Description
AccountService ( IAccountKeyGenerator accountKeyGenerator, ISecurityDigest securityDigest ) : System
CreateAccount ( AddUserAccountCommand command ) : dynamic
GetUserAccount ( GetUserAccountQuery query ) : dynamic
GetUserAccountByKey ( GetUserAccountByKeyQuery query ) : dynamic
ValidateAccount ( ValidateAccountCommand command ) : dynamic

Method Details

AccountService() public method

public AccountService ( IAccountKeyGenerator accountKeyGenerator, ISecurityDigest securityDigest ) : System
accountKeyGenerator IAccountKeyGenerator
securityDigest ISecurityDigest
return System

CreateAccount() public method

public CreateAccount ( AddUserAccountCommand command ) : dynamic
command LetMeRate.Application.Commands.AddUserAccountCommand
return dynamic

GetUserAccount() public method

public GetUserAccount ( GetUserAccountQuery query ) : dynamic
query LetMeRate.Application.Query.GetUserAccountQuery
return dynamic

GetUserAccountByKey() public method

public GetUserAccountByKey ( GetUserAccountByKeyQuery query ) : dynamic
query LetMeRate.Application.Query.GetUserAccountByKeyQuery
return dynamic

ValidateAccount() public method

public ValidateAccount ( ValidateAccountCommand command ) : dynamic
command LetMeRate.Application.Commands.ValidateAccountCommand
return dynamic