RepositoryModel implemented

This commit is contained in:
2019-12-19 20:30:04 +01:00
parent 5e4da3d966
commit fc11be2baf
25 changed files with 397 additions and 16 deletions

View File

@ -0,0 +1,19 @@
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);
}
}