Display fundamentals

This commit is contained in:
Dimitar Byalkov
2021-03-19 09:51:42 +02:00
parent 7507023d11
commit 701be834cf
9 changed files with 160 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Business.Business.UserManagment;
using System;
using System.Collections.Generic;
using System.Text;
@@ -28,7 +29,23 @@ namespace Display.InitialSetup
}
public void InitialRegistration()
{
InitialUserInput();
var uc = new UserController();
try
{
if (uc.CheckIfUserEverCreated())
{
}
else
{
uc.RegisterItem(InitialUserInput()[0], InitialUserInput()[1]);
}
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
}
}
}