27 lines
670 B
C#
27 lines
670 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ServiceModel;
|
|
|
|
using System.Data.SqlClient;
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
{
|
|
[ServiceContract]
|
|
public interface ILedgerBI
|
|
{
|
|
[OperationContract]
|
|
LedgerBO GetLedger(Guid ledgerID);
|
|
[OperationContract]
|
|
LedgerBO GetLedgerByName(string name);
|
|
[OperationContract]
|
|
bool Insert(LedgerBO ledger);
|
|
[OperationContract]
|
|
bool Update(LedgerBO ledger);
|
|
[OperationContract]
|
|
List<LedgerDisplayBO> GetLedgers();
|
|
[OperationContract]
|
|
List<LedgerDisplayBO> GetLedgersOfType(char type);
|
|
}
|
|
}
|