C# Class MintPlayer.Data.Repositories.MediumRepository

Inheritance: IMediumRepository
Mostrar archivo Open project: MintPlayer/MintPlayer Class Usage Examples

Public Methods

Method Description
MediumRepository ( MintPlayerContext mintplayer_context ) : System.Linq
StoreMedia ( Subject subject, IEnumerable media ) : Task

Private Methods

Method Description
ToDto ( Entities.Medium medium, bool include_relations = false ) : Medium
ToEntity ( Medium medium, MintPlayerContext mintplayer_context ) : Entities.Medium

Method Details

MediumRepository() public method

public MediumRepository ( MintPlayerContext mintplayer_context ) : System.Linq
mintplayer_context MintPlayerContext
return System.Linq

StoreMedia() public method

public StoreMedia ( Subject subject, IEnumerable media ) : Task
subject Subject
media IEnumerable
return Task