2020-10-15 11:07:32 +00:00
|
|
|
|
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)
|
2020-10-14 15:03:25 +00:00
|
|
|
|
{
|
2020-10-15 11:07:32 +00:00
|
|
|
|
var creditorController = Dependencies.Container.GetInstance<CreditorController>();
|
2020-10-14 03:10:25 +00:00
|
|
|
|
|
2020-10-15 11:07:32 +00:00
|
|
|
|
Console.WriteLine(creditorController.GetCreditorStatus(1));
|
2020-10-14 03:10:25 +00:00
|
|
|
|
|
2020-10-15 11:07:32 +00:00
|
|
|
|
Console.WriteLine(creditorController.SetCreditorStatus(1, "Active"));
|
2020-10-14 15:03:25 +00:00
|
|
|
|
|
2020-10-14 12:35:14 +00:00
|
|
|
|
|
2020-10-15 11:07:32 +00:00
|
|
|
|
Console.ReadLine();
|
2020-10-14 15:03:25 +00:00
|
|
|
|
}
|
2020-10-14 01:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|