Пример #1
0
        private static void GetAccountOperationTest()
        {
            IAccountOperationService accountOperationService = GetService();

            AccountOperation accountOperation = accountOperationService.Get(22);

            Console.WriteLine(accountOperation.Account);
        }
Пример #2
0
        private static void UpdateAccountOperationTest()
        {
            IAccountOperationService accountOperationService = GetEFService();

            AccountOperation accountOperation = accountOperationService.Get(22);

            accountOperation.OperationStatus = OperationStatus.EX;

            accountOperation.Id = 19;

            accountOperationService.Update(accountOperation);
        }