C# Class BolfTracker.Infrastructure.EntityFramework.GameRepository

Inheritance: IGameRepository
Mostrar archivo Open project: mkchandler/bolf-tracker-mvc

Public Methods

Method Description
Add ( BolfTracker.Models.Game model ) : void
All ( ) : IEnumerable
Delete ( BolfTracker.Models.Game model ) : void
GetActiveMonthsAndYears ( ) : int>>.IEnumerable
GetAllFinalized ( ) : IEnumerable
GetById ( int id ) : BolfTracker.Models.Game
GetByMonthAndYear ( int month, int year ) : IEnumerable
GetFinalizedByMonthAndYear ( int month, int year ) : IEnumerable

Method Details

Add() public method

public Add ( BolfTracker.Models.Game model ) : void
model BolfTracker.Models.Game
return void

All() public method

public All ( ) : IEnumerable
return IEnumerable

Delete() public method

public Delete ( BolfTracker.Models.Game model ) : void
model BolfTracker.Models.Game
return void

GetActiveMonthsAndYears() public method

public GetActiveMonthsAndYears ( ) : int>>.IEnumerable
return int>>.IEnumerable

GetAllFinalized() public method

public GetAllFinalized ( ) : IEnumerable
return IEnumerable

GetById() public method

public GetById ( int id ) : BolfTracker.Models.Game
id int
return BolfTracker.Models.Game

GetByMonthAndYear() public method

public GetByMonthAndYear ( int month, int year ) : IEnumerable
month int
year int
return IEnumerable

GetFinalizedByMonthAndYear() public method

public GetFinalizedByMonthAndYear ( int month, int year ) : IEnumerable
month int
year int
return IEnumerable