You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
739 B
26 lines
739 B
using System;
|
|
using BowlingEF.Entities;
|
|
|
|
namespace BowlingRepository.Interface
|
|
{
|
|
/// <summary>
|
|
/// Interface de gestion des parties
|
|
/// </summary>
|
|
public interface IpartieRepository
|
|
{
|
|
/// <summary>
|
|
/// Méthode d'ajout d'une partie
|
|
/// </summary>
|
|
/// <param name="_partie">la partie à ajouter</param>
|
|
/// <returns></returns>
|
|
public Task<PartieEntity> Add(PartieEntity _partie);
|
|
public Task<bool> Delete(long id);
|
|
public Task<bool> Update(PartieEntity _partie);
|
|
public Task<List<PartieEntity>> GetAll();
|
|
public Task<IEnumerable<PartieEntity>> GetAllWithDate(DateTime date);
|
|
public Task<PartieEntity> GetDataWithId(int id);
|
|
|
|
}
|
|
}
|
|
|