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

27 lines
735 B
C#

using COA.EnterpriseServices.Creditors;
using COA.EnterpriseServices.DataAccess;
using System;
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"));
var creditor = creditorController.GetCreditor(1);
//creditorController.AddOfferResponse(new OfferResponse
//{
// CreditorId = 1
//});
Console.ReadLine();
}
}
}