C# Class Arash.Core.Manager.CoffeeshopManager

Inheritance: ICoffeeshopManager
Show file Open project: arashkarami/nlayeredMVC

Public Methods

Method Description
Add ( Coffeeshop entity ) : void
CoffeeshopManager ( IRepository repository ) : System
Edit ( Coffeeshop entity ) : void
Get ( bool>.Func predicate = null ) : Coffeeshop
GetAll ( bool>.Func predicate = null, int start, int count = 6 ) : IEnumerable
GetCount ( bool>.Func predicate = null ) : int
MakeInstance ( ) : Coffeeshop
Remove ( Coffeeshop entity ) : void

Method Details

Add() public method

public Add ( Coffeeshop entity ) : void
entity Arash.Restaurant.Model.Coffeeshop
return void

CoffeeshopManager() public method

public CoffeeshopManager ( IRepository repository ) : System
repository IRepository
return System

Edit() public method

public Edit ( Coffeeshop entity ) : void
entity Arash.Restaurant.Model.Coffeeshop
return void

Get() public method

public Get ( bool>.Func predicate = null ) : Coffeeshop
predicate bool>.Func
return Arash.Restaurant.Model.Coffeeshop

GetAll() public method

public GetAll ( bool>.Func predicate = null, int start, int count = 6 ) : IEnumerable
predicate bool>.Func
start int
count int
return IEnumerable

GetCount() public method

public GetCount ( bool>.Func predicate = null ) : int
predicate bool>.Func
return int

MakeInstance() public method

public MakeInstance ( ) : Coffeeshop
return Arash.Restaurant.Model.Coffeeshop

Remove() public method

public Remove ( Coffeeshop entity ) : void
entity Arash.Restaurant.Model.Coffeeshop
return void