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.
23 lines
550 B
23 lines
550 B
using BowlingLib.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Business
|
|
{
|
|
/// <summary>
|
|
/// Interface d'abstraction pour les donné
|
|
/// </summary>
|
|
/// <typeparam name="Data"></typeparam>
|
|
public interface IDataManager<Data>
|
|
{
|
|
Task<bool> Add(Data data);
|
|
Task<bool> Delete(Data data);
|
|
Task<bool> Update(Data data);
|
|
Task<Data> GetDataWithName(string name);
|
|
Task<IEnumerable<Data>> GetAll();
|
|
}
|
|
}
|