C# Class Cars.Controllers.CarsController

Mostrar archivo Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
Add ( Models.Car car ) : IView
CarsController ( ) : Cars.Contracts
CarsController ( ICarsRepository data ) : Cars.Contracts
Details ( int id ) : IView
Index ( ) : IView
Search ( string condition ) : IView
Sort ( string parameter ) : IView

Method Details

Add() public method

public Add ( Models.Car car ) : IView
car Models.Car
return IView

CarsController() public method

public CarsController ( ) : Cars.Contracts
return Cars.Contracts

CarsController() public method

public CarsController ( ICarsRepository data ) : Cars.Contracts
data ICarsRepository
return Cars.Contracts

Details() public method

public Details ( int id ) : IView
id int
return IView

Index() public method

public Index ( ) : IView
return IView

Search() public method

public Search ( string condition ) : IView
condition string
return IView

Sort() public method

public Sort ( string parameter ) : IView
parameter string
return IView