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

27 lines
735 B
C#
Raw Permalink Normal View History

2020-10-15 12:48:11 +00:00
using COA.EnterpriseServices.Creditors;
using COA.EnterpriseServices.DataAccess;
using System;
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));
Console.WriteLine(creditorController.SetCreditorStatus(1, "Active"));
2020-10-16 13:54:09 +00:00
var creditor = creditorController.GetCreditor(1);
//creditorController.AddOfferResponse(new OfferResponse
//{
// CreditorId = 1
//});
2020-10-14 12:35:14 +00:00
Console.ReadLine();
}
2020-10-14 01:46:23 +00:00
}
}