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

32 lines
973 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 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<ProductDisplayBO> GetProducts();
[OperationContract]
List<ProductDisplaySmallBO> GetFilteredProducts(Dictionary<string, string> filter);
[OperationContract]
List<ProductTypeBO> GetProductTypes();
}
}