C# 클래스 ReaLocate.Services.Data.PhotosService

상속: IPhotosService
파일 보기 프로젝트 열기: MichaelaIvanova/ReaLocate

공개 메소드들

메소드 설명
Add ( Photo newPhoto ) : int
EncodeId ( int id ) : string
GetAll ( int skip, int take ) : IQueryable
GetByEncodedId ( string id ) : Photo
GetById ( int id ) : IQueryable
PhotosService ( IDbRepository photos, IIdentifierProvider identifierProvider ) : System

메소드 상세

Add() 공개 메소드

public Add ( Photo newPhoto ) : int
newPhoto Photo
리턴 int

EncodeId() 공개 메소드

public EncodeId ( int id ) : string
id int
리턴 string

GetAll() 공개 메소드

public GetAll ( int skip, int take ) : IQueryable
skip int
take int
리턴 IQueryable

GetByEncodedId() 공개 메소드

public GetByEncodedId ( string id ) : Photo
id string
리턴 Photo

GetById() 공개 메소드

public GetById ( int id ) : IQueryable
id int
리턴 IQueryable

PhotosService() 공개 메소드

public PhotosService ( IDbRepository photos, IIdentifierProvider identifierProvider ) : System
photos IDbRepository
identifierProvider IIdentifierProvider
리턴 System