-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
37 lines (28 loc) · 1.15 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SalaDeFitness.Models;
namespace SalaDeFitness
{
class Program
{
static void Main(string[] args)
{
Client client = new Client("Aaaa", "BBB", "1234567890123", "ion.popescu@example.com", "0712345678");
Console.WriteLine(client.AfiseazaDetalii());
Console.WriteLine();
Antrenor antrenor = new Antrenor("Ionescu", "Maria", "9876543210987", "maria.ionescu@example.com", "0798765432", "Fitness & Cardio");
Console.WriteLine(antrenor.AfiseazaDetalii());
Console.WriteLine();
Angajat angajat = new Angajat("Georgescu", "Ana", "1112223334445", "ana.georgescu@example.com", "0722334455", "Receptioner");
Console.WriteLine(angajat.AfiseazaDetalii());
Abonament abonament = new Abonament(
"Popescu", "Ion", "1234567890123", "ion.popescu@example.com", "0712345678",
"1", DateTime.Now, DateTime.Now.AddMonths(3)
);
Console.WriteLine(abonament.AfiseazaDetalii());
Console.ReadLine();
}
}
}