mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-29 20:12:40 +00:00
30 lines
812 B
C#
30 lines
812 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Globals.classes;
|
|
|
|
namespace Globals.Interfaces
|
|
{
|
|
public interface ILogic
|
|
{
|
|
List<Person> persons { get; set; }
|
|
List<Bet> bets { get; set; }
|
|
List<Ploeg> ploegen { get; set; }
|
|
List<Game> games { get; set; }
|
|
Person getPerson(int id);
|
|
Bet getBet(int id);
|
|
Ploeg getPloeg(int id);
|
|
Game getGame(int id);
|
|
void addPloeg(Ploeg p);
|
|
void addGame(Game g);
|
|
void addBet(Bet b);
|
|
void addPerson(Person p);
|
|
void save();
|
|
void updateGame(Game g);
|
|
void updatePerson(Person p);
|
|
Person getPersonByString(string s);
|
|
Ploeg getPloegByString(string s);
|
|
Game getGameByString(string s);
|
|
Bet getBetByString(string s);
|
|
}
|
|
}
|