COA.EnterpriseServices/COA.EnterpriseServices.Sandbox/Program.cs

23 lines
574 B
C#
Raw Normal View History

using COA.EnterpriseServices.Creditor;
using COA.EnterpriseServices.DataAccess;
using System;
using System.Runtime.CompilerServices;
2020-10-14 01:46:23 +00:00
namespace COA.EnterpriseServices.Sandbox
{
2020-10-14 12:35:14 +00:00
internal class Program
2020-10-14 01:46:23 +00:00
{
2020-10-14 12:35:14 +00:00
private static void Main(string[] args)
{
var creditorController = Dependencies.Container.GetInstance<CreditorController>();
2020-10-14 03:10:25 +00:00
Console.WriteLine(creditorController.GetCreditorStatus(1));
2020-10-14 03:10:25 +00:00
Console.WriteLine(creditorController.SetCreditorStatus(1, "Active"));
2020-10-14 12:35:14 +00:00
Console.ReadLine();
}
2020-10-14 01:46:23 +00:00
}
}