mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-30 04:22:42 +00:00
yup
This commit is contained in:
25
Online Gokkantoor/Globals/Interfaces/ILogic.cs
Normal file
25
Online Gokkantoor/Globals/Interfaces/ILogic.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user