C# Class ModernWebStore.ApplicationService.UserApplicationService

Inheritance: ApplicationService, IUserApplicationService
Afficher le fichier Open project: andrebaltieri/mwa-api

Méthodes publiques

Méthode Description
Authenticate ( string username, string password ) : ModernWebStore.Domain.Entities.User
List ( ) : List
Register ( RegisterUserCommand command ) : ModernWebStore.Domain.Entities.User
UserApplicationService ( IUserRepository repository, IUnitOfWork unitOfWork ) : System.Collections.Generic

Method Details

Authenticate() public méthode

public Authenticate ( string username, string password ) : ModernWebStore.Domain.Entities.User
username string
password string
Résultat ModernWebStore.Domain.Entities.User

List() public méthode

public List ( ) : List
Résultat List

Register() public méthode

public Register ( RegisterUserCommand command ) : ModernWebStore.Domain.Entities.User
command ModernWebStore.Domain.Commands.UserCommands.RegisterUserCommand
Résultat ModernWebStore.Domain.Entities.User

UserApplicationService() public méthode

public UserApplicationService ( IUserRepository repository, IUnitOfWork unitOfWork ) : System.Collections.Generic
repository IUserRepository
unitOfWork IUnitOfWork
Résultat System.Collections.Generic