34 lines
706 B
C#
34 lines
706 B
C#
using ProjectSellPC.Entites;
|
|
using ProjectSellPC.Entites.Enums;
|
|
|
|
namespace ProjectSellPC.Repos.Impements
|
|
{
|
|
public class ClientRepo : IClientRepository
|
|
{
|
|
public void Create(Client client)
|
|
{
|
|
|
|
}
|
|
|
|
public void Delete(int id)
|
|
{
|
|
|
|
}
|
|
|
|
public Client Read(int id)
|
|
{
|
|
return Client.CreateEntity(0, string.Empty, string.Empty, ClientType.Individual);
|
|
}
|
|
|
|
public IEnumerable<Client> ReadAll()
|
|
{
|
|
return new List<Client>();
|
|
}
|
|
|
|
public Client Update(Client client)
|
|
{
|
|
return Client.CreateEntity(0, string.Empty, string.Empty, ClientType.Individual);
|
|
}
|
|
}
|
|
}
|