public LoginResponse post(Int64 phone, string password) { MerchantDOA d = new MerchantDOA(); //List<string> s = new List<string> { }; //s = d.authenticate(phone, password); LoginResponse lr = d.authenticate(phone, password); return(lr); }
public List <string> Get(string name, Int64 phone, string email, string address, string password, string re_pass) { var s = new List <string>(); s.Add(""); MerchantDOA d = new MerchantDOA(); d.create(name, phone, email, address, password, re_pass); return(s); }
public List <string> get(string name, Int64 phone, string email, string pname, string address) { var s = new List <string>(); s.Add("Order placed Successfully"); MerchantDOA d = new MerchantDOA(); d.createCustomer(name, phone, email, pname, address); return(s); }