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

23 lines
574 B
C#

using COA.EnterpriseServices.Creditor;
using COA.EnterpriseServices.DataAccess;
using System;
using System.Runtime.CompilerServices;
namespace COA.EnterpriseServices.Sandbox
{
internal class Program
{
private static void Main(string[] args)
{
var creditorController = Dependencies.Container.GetInstance<CreditorController>();
Console.WriteLine(creditorController.GetCreditorStatus(1));
Console.WriteLine(creditorController.SetCreditorStatus(1, "Active"));
Console.ReadLine();
}
}
}