C# Class Teleimot.Services.Data.RealEstatesService

Inheritance: IRealEstatesService
Show file Open project: TelerikAcademy/Web-Services-and-Cloud

Public Methods

Method Description
AddNew ( RealEstate newRealEstate, string userId ) : int
GetAll ( int skip, int take ) : IQueryable
GetById ( int id ) : IQueryable
RealEstatesService ( IRepository realEstates ) : System

Method Details

AddNew() public method

public AddNew ( RealEstate newRealEstate, string userId ) : int
newRealEstate Teleimot.Data.Models.RealEstate
userId string
return int

GetAll() public method

public GetAll ( int skip, int take ) : IQueryable
skip int
take int
return IQueryable

GetById() public method

public GetById ( int id ) : IQueryable
id int
return IQueryable

RealEstatesService() public method

public RealEstatesService ( IRepository realEstates ) : System
realEstates IRepository
return System