C# Class BolfTracker.Infrastructure.EntityFramework.ShotTypeRepository

Inheritance: IShotTypeRepository
Exibir arquivo Open project: mkchandler/bolf-tracker-mvc

Public Methods

Method Description
Add ( BolfTracker.Models.ShotType model ) : void
All ( ) : IEnumerable
Delete ( BolfTracker.Models.ShotType model ) : void
GetById ( int id ) : BolfTracker.Models.ShotType

Method Details

Add() public method

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

All() public method

public All ( ) : IEnumerable
return IEnumerable

Delete() public method

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

GetById() public method

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