C# Class Castle.Applications.MindDump.Services.AccountService

Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AccountService ( AuthorDao authorDao, BlogDao blogDao ) : System
ObtainAuthor ( String login ) : Author
UpdateAccount ( Author author ) : void
UpdateBlog ( Blog blog ) : void

Private Methods

Method Description
CreateAccountAndBlog ( Blog blog ) : void

Method Details

AccountService() public method

public AccountService ( AuthorDao authorDao, BlogDao blogDao ) : System
authorDao Castle.Applications.MindDump.Dao.AuthorDao
blogDao Castle.Applications.MindDump.Dao.BlogDao
return System

ObtainAuthor() public method

public ObtainAuthor ( String login ) : Author
login String
return Castle.Applications.MindDump.Model.Author

UpdateAccount() public method

public UpdateAccount ( Author author ) : void
author Castle.Applications.MindDump.Model.Author
return void

UpdateBlog() public method

public UpdateBlog ( Blog blog ) : void
blog Castle.Applications.MindDump.Model.Blog
return void