using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; using System.Data.SqlClient; namespace Tanshu.Accounts.Contracts { [ServiceContract] public interface IProductBI { [OperationContract] bool Insert(ProductBO product); [OperationContract] bool Update(ProductBO product); [OperationContract] bool Delete(Guid productID); [OperationContract] ProductBO GetProductFromName(string nameAndUnits); [OperationContract] ProductBO GetProduct(Guid productID); [OperationContract] decimal GetProductStock(DateTime date, Guid productID, Guid? voucherID); [OperationContract] List GetProducts(); [OperationContract] List GetFilteredProducts(Dictionary filter); [OperationContract] List GetProductTypes(); } }