C# Class BolfTracker.Infrastructure.EntityFramework.GameStatisticsRepository

Inheritance: IGameStatisticsRepository
Datei anzeigen Open project: mkchandler/bolf-tracker-mvc

Public Methods

Method Description
Add ( BolfTracker.Models.GameStatistics model ) : void
All ( ) : IEnumerable
Delete ( BolfTracker.Models.GameStatistics model ) : void
DeleteAll ( ) : void
DeleteByGame ( int gameId ) : void
DeleteByMonthAndYear ( int month, int year ) : void
GetById ( int id ) : BolfTracker.Models.GameStatistics

Method Details

Add() public method

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

All() public method

public All ( ) : IEnumerable
return IEnumerable

Delete() public method

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

DeleteAll() public method

public DeleteAll ( ) : void
return void

DeleteByGame() public method

public DeleteByGame ( int gameId ) : void
gameId int
return void

DeleteByMonthAndYear() public method

public DeleteByMonthAndYear ( int month, int year ) : void
month int
year int
return void

GetById() public method

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