C# Class MyMovies.DomainModel.ServicesImpl.InMemoryMoviesService

Inheritance: IMoviesService
ファイルを表示 Open project: prompt/preprompt-aspnet-mvc

Public Methods

Method Description
Add ( Movie newMovie ) : void
Delete ( int id ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Get ( int id ) : Movie
GetAll ( ) : ICollection
GetAll ( object filter ) : ICollection
GetAllMovies ( ) : ICollection
GetGenres ( ) : ICollection
GetWithComments ( int id ) : Movie
Search ( string title ) : Movie
Update ( Movie movie ) : void

Method Details

Add() public method

public Add ( Movie newMovie ) : void
newMovie Movie
return void

Delete() public method

public Delete ( int id ) : void
id int
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Get() public method

public Get ( int id ) : Movie
id int
return Movie

GetAll() public method

public GetAll ( ) : ICollection
return ICollection

GetAll() public method

public GetAll ( object filter ) : ICollection
filter object
return ICollection

GetAllMovies() public method

public GetAllMovies ( ) : ICollection
return ICollection

GetGenres() public method

public GetGenres ( ) : ICollection
return ICollection

GetWithComments() public method

public GetWithComments ( int id ) : Movie
id int
return Movie

Search() public method

public Search ( string title ) : Movie
title string
return Movie

Update() public method

public Update ( Movie movie ) : void
movie Movie
return void