Exemplo n.º 1
0
 public IEnumerable <ShotHistory> GetClubShotHistory(ClubEnum club)
 {
     return(_repository.GetClubShotHistory(club));
 }
Exemplo n.º 2
0
 public static IEnumerable <ShotHistory> GetClubShotHistory(this IRepository <ShotHistory> repository, ClubEnum club)
 {
     return(repository.Queryable()
            .Where(x => x.Club == club)
            .AsEnumerable());
 }