20 lines
468 B
C#
20 lines
468 B
C#
using H_Plus_Sports.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace H_Plus_Sports.Contracts
|
|
{
|
|
public interface ICustomerRepository
|
|
{
|
|
Task<Customer> Add(Customer customer);
|
|
IEnumerable<Customer> GetAll();
|
|
Task<Customer> Find(int id);
|
|
Task<Customer> Update(Customer customer);
|
|
Task<Customer> Remove(int id);
|
|
Task<bool> Exist(int id);
|
|
|
|
}
|
|
}
|