C# Class Business.Services.BlogService

Inheritance: IBlogService
Exibir arquivo Open project: chsakell/wcfdependencyinjection

Public Methods

Method Description
Add ( Blog blog ) : void
BlogService ( IUnitOfWork unitOfWork, IBlogRepository blogRepository ) : System
Delete ( Blog blog ) : void
GetAll ( ) : Business.Entities.Blog[]
GetById ( int id ) : Blog
Update ( Blog blog ) : void

Method Details

Add() public method

public Add ( Blog blog ) : void
blog Business.Entities.Blog
return void

BlogService() public method

public BlogService ( IUnitOfWork unitOfWork, IBlogRepository blogRepository ) : System
unitOfWork IUnitOfWork
blogRepository IBlogRepository
return System

Delete() public method

public Delete ( Blog blog ) : void
blog Business.Entities.Blog
return void

GetAll() public method

public GetAll ( ) : Business.Entities.Blog[]
return Business.Entities.Blog[]

GetById() public method

public GetById ( int id ) : Blog
id int
return Business.Entities.Blog

Update() public method

public Update ( Blog blog ) : void
blog Business.Entities.Blog
return void