C# Class RateMyAmenity.Controllers.RateAPIController

Inheritance: ApiController
Mostra file Open project: Tamakloe/EF_Project Class Usage Examples

Public Methods

Method Description
GetAllRateAPIs ( ) : IEnumerable
GetRateAPIByAmenityID ( int id ) : RateAPI
GetRateAPIsByName ( string name ) : IEnumerable

Private Methods

Method Description
RateAPIs ( ) : IQueryable

Method Details

GetAllRateAPIs() public method

public GetAllRateAPIs ( ) : IEnumerable
return IEnumerable

GetRateAPIByAmenityID() public method

public GetRateAPIByAmenityID ( int id ) : RateAPI
id int
return RateMyAmenity.ViewModels.RateAPI

GetRateAPIsByName() public method

public GetRateAPIsByName ( string name ) : IEnumerable
name string
return IEnumerable