narsil/Tanshu.Accounts.Contracts/Service Contracts/ProductBI.cs
2011-01-10 05:06:24 +05:30

22 lines
721 B
C#

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