C# Класс Business.Services.BlogService

Наследование: IBlogService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный Метод

public Add ( Blog blog ) : void
blog Business.Entities.Blog
Результат void

BlogService() публичный Метод

public BlogService ( IUnitOfWork unitOfWork, IBlogRepository blogRepository ) : System
unitOfWork IUnitOfWork
blogRepository IBlogRepository
Результат System

Delete() публичный Метод

public Delete ( Blog blog ) : void
blog Business.Entities.Blog
Результат void

GetAll() публичный Метод

public GetAll ( ) : Business.Entities.Blog[]
Результат Business.Entities.Blog[]

GetById() публичный Метод

public GetById ( int id ) : Blog
id int
Результат Business.Entities.Blog

Update() публичный Метод

public Update ( Blog blog ) : void
blog Business.Entities.Blog
Результат void