Display InitialSetup

This commit is contained in:
Dimitar Byalkov
2021-03-19 01:39:47 +02:00
parent 9a4fa93aad
commit 8506673a91
3 changed files with 42 additions and 14 deletions

View File

@@ -10,19 +10,8 @@ namespace Display
{
static void Main(string[] args)
{
try
{
var a = new UserController();
a.UpdateRole(1, "Cashier");
foreach (var item in a.GetAll())
{
Console.WriteLine($"{item.Name} {item.Role.Name}");
}
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
var a = new InitialSetup.InitialSetup();
a.InitialRegistration();
}
}
}