narsil/Tanshu.Accounts.Contracts/Service Contracts/LedgerBI.cs
2010-03-02 23:26:21 +05:30

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);
}
}