C# Class PAWA.DAL.FolderRepository

Inheritance: IFolderRepository
Show file Open project: jarradm/PAWA

Public Methods

Method Description
Add ( Folder item ) : Folder
FolderRepository ( ) : System
Get ( int id ) : Folder
GetAll ( ) : IEnumerable
Remove ( int id ) : void
Update ( Folder item ) : bool

Method Details

Add() public method

public Add ( Folder item ) : Folder
item PAWA.Models.Folder
return PAWA.Models.Folder

FolderRepository() public method

public FolderRepository ( ) : System
return System

Get() public method

public Get ( int id ) : Folder
id int
return PAWA.Models.Folder

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

Remove() public method

public Remove ( int id ) : void
id int
return void

Update() public method

public Update ( Folder item ) : bool
item PAWA.Models.Folder
return bool