C# Class PRTools.Domain.Commands.DocumentSaver

Inheritance: IDocumentSaver
Mostrar archivo Open project: AcklenAvenue/PRTools

Public Methods

Method Description
DocumentSaver ( IAuthorizationService authorizationService, AbstractValidator validator, IDocumentRepository documentRepository ) : System
Execute ( string username, Document document ) : Document

Private Methods

Method Description
ValidateDocument ( Document document ) : void

Method Details

DocumentSaver() public method

public DocumentSaver ( IAuthorizationService authorizationService, AbstractValidator validator, IDocumentRepository documentRepository ) : System
authorizationService IAuthorizationService
validator AbstractValidator
documentRepository IDocumentRepository
return System

Execute() public method

public Execute ( string username, Document document ) : Document
username string
document Document
return Document