public static PLCustomer CheckCustomerPassword(string customer_name, string customer_pw) { string[] errors = new string[0]; SLCustomers.ISLCustomers SLCustomers = new SLCustomers.SLCustomersClient(); PLCustomer PL_Customer = (DTO_to_PL(SLCustomers.CheckCustomerLoginPassword(customer_name, customer_pw, ref errors))); return PL_Customer; //add some http context maybe }