2020-10-15 12:48:11 +00:00
|
|
|
|
using COA.EnterpriseServices.Creditors;
|
2020-10-15 11:07:32 +00:00
|
|
|
|
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)
|
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 17:47:44 +00:00
|
|
|
|
//Console.WriteLine(creditorController.GetCreditorStatus(1));
|
|
|
|
|
Console.WriteLine(creditorController.SetCreditorStatus(1, "Active"));
|
2020-10-14 15:03:25 +00:00
|
|
|
|
|
2020-10-16 13:54:09 +00:00
|
|
|
|
var creditor = creditorController.GetCreditor(1);
|
|
|
|
|
|
2020-10-15 13:34:25 +00:00
|
|
|
|
//creditorController.AddOfferResponse(new OfferResponse
|
|
|
|
|
//{
|
|
|
|
|
// CreditorId = 1
|
|
|
|
|
//});
|
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
|
|
|
|
}
|
|
|
|
|
}
|