C# Class PersistIntro.Controllers.Manager

显示文件 Open project: peteratseneca/bti420winter2014

Public Methods

Method Description
AddManufacturer ( ManufacturerAdd newItem ) : ManufacturerBase
EditManufacturer ( ManufacturerBase newItem ) : ManufacturerBase
GetAllManufacturers ( ) : IEnumerable
GetManufacturerById ( int id ) : ManufacturerBase

Method Details

AddManufacturer() public method

public AddManufacturer ( ManufacturerAdd newItem ) : ManufacturerBase
newItem ManufacturerAdd
return ManufacturerBase

EditManufacturer() public method

public EditManufacturer ( ManufacturerBase newItem ) : ManufacturerBase
newItem ManufacturerBase
return ManufacturerBase

GetAllManufacturers() public method

public GetAllManufacturers ( ) : IEnumerable
return IEnumerable

GetManufacturerById() public method

public GetManufacturerById ( int id ) : ManufacturerBase
id int
return ManufacturerBase