21 строка
410 B
C#
21 строка
410 B
C#
using RPS.Core.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace RPS.Data
|
|
{
|
|
public class PtUserRepository : IPtUserRepository
|
|
{
|
|
private PtInMemoryContext context;
|
|
|
|
public PtUserRepository(PtInMemoryContext context)
|
|
{
|
|
this.context = context;
|
|
}
|
|
|
|
public IEnumerable<PtUser> GetAll()
|
|
{
|
|
return context.PtUsers;
|
|
}
|
|
}
|
|
}
|