public string Save(int productId, NameofProduct productName, NameOfBrand brandName, decimal productPrice, int quantity) { ProductId = productId; ProductName = productName; BrandName = brandName; ProductPrice = productPrice; Quantity = quantity; return("Save product details"); }
public StockDetails(int productId, NameofProduct productName, NameOfBrand brandName, string avaiablequty) : this() { AvaiableQuty = avaiablequty; }
public StockDetails(int productId, NameofProduct productName, NameOfBrand brandName) : this(productName) { BrandName = brandName; }
public Product(int productId, NameofProduct productName, NameOfBrand brandName, decimal productPrice, int quantity) : this() { Quantity = quantity; }
public Product(NameofProduct productName, NameOfBrand brandName) : this(productName) { BrandName = brandName; }