21 lines
407 B
C#
21 lines
407 B
C#
using H_Plus_Sports.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace H_Plus_Sports.Contracts
|
|
{
|
|
public interface IOrderRepository
|
|
{
|
|
Task<Order> Add(Order item);
|
|
|
|
IEnumerable<Order> GetAll();
|
|
|
|
Task<Order> Find(int id);
|
|
|
|
Task<Order> Remove(int id);
|
|
|
|
Task<Order> Update(Order item);
|
|
|
|
Task<bool> Exists(int id);
|
|
}
|
|
} |