2021-02-07 13:51:49 +03:00
|
|
|
|
using System;
|
2021-04-09 09:48:23 +03:00
|
|
|
|
using MapTo;
|
2021-02-07 13:51:49 +03:00
|
|
|
|
using TestConsoleApp.Data.Models;
|
|
|
|
|
using TestConsoleApp.ViewModels;
|
2020-12-21 13:20:29 +03:00
|
|
|
|
|
2021-01-27 10:53:29 +03:00
|
|
|
|
namespace TestConsoleApp
|
|
|
|
|
{
|
|
|
|
|
internal class Program
|
|
|
|
|
{
|
|
|
|
|
private static void Main(string[] args)
|
2021-02-13 14:27:32 +03:00
|
|
|
|
{
|
|
|
|
|
//UserTest();
|
2021-04-09 09:48:23 +03:00
|
|
|
|
|
|
|
|
|
// EmployeeManagerTest();
|
|
|
|
|
Console.WriteLine("done");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void EmployeeManagerTest()
|
|
|
|
|
{
|
2021-12-08 01:02:59 +03:00
|
|
|
|
|
2021-02-13 14:27:32 +03:00
|
|
|
|
var employee1 = new Employee
|
|
|
|
|
{
|
|
|
|
|
Id = 101,
|
|
|
|
|
EmployeeCode = "E101",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var employee2 = new Employee
|
|
|
|
|
{
|
|
|
|
|
Id = 102,
|
|
|
|
|
EmployeeCode = "E102",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-09 09:48:23 +03:00
|
|
|
|
|
2021-12-08 01:02:59 +03:00
|
|
|
|
|
2021-01-27 10:53:29 +03:00
|
|
|
|
}
|
|
|
|
|
}
|