17 lines
540 B
C#
17 lines
540 B
C#
using Bullet6.Solution1.Models;
|
|
|
|
namespace Bullet6.Solution1
|
|
{
|
|
public class Solution1Service : ISolution1Service
|
|
{
|
|
public Task Start()
|
|
{
|
|
Console.WriteLine($"{nameof(Solution1Service)} starting");
|
|
IEntity[] entites = [new Employee() { Name = "Ilias" }, new Manager() { Name = "Maria" }];
|
|
foreach (var entity in entites) EntityHandler.PrintName(entity);
|
|
Console.WriteLine($"{nameof(Solution1Service)} ended");
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|