32 lines
973 B
C#
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();
|
|||
|
}
|
|||
|
}
|