narsil/Tanshu.Accounts.Contracts/Service Contracts/CustomerBI.cs

32 lines
881 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Data.SqlClient;
namespace Tanshu.Accounts.Contracts
{
[ServiceContract]
public interface ICustomerBI
{
[OperationContract]
List<LedgerBO> GetCustomerLedgers();
[OperationContract]
CustomerBO GetCustomer(Guid customerID);
[OperationContract]
List<CustomerBO> GetFilteredCustomers(Dictionary<string, string> filter);
[OperationContract]
List<CustomerBO> GetCustomers();
[OperationContract]
List<CustomerBO> GetSingleCustomers(Guid customerID);
[OperationContract]
bool Update(CustomerBO customer);
[OperationContract]
bool Delete(Guid customerID);
[OperationContract]
bool Insert(CustomerBO customer);
}
}