public List <string> get(string pname, Int32 productprice, string category, string subcategory, string physicalprop, string phonenumber) { var s = new List <string>(); s.Add("insert avutunna chudu"); ProductDOA d = new ProductDOA(); d.pcreate(pname, productprice, category, subcategory, physicalprop, phonenumber); return(s); }
public List <string> get() { ProductDOA d = new ProductDOA(); List <string> s = new List <string> { }; List <string> s1 = new List <string> { }; s1 = d.FindAll(); s = d.generate("Laptops"); return(s1); }