public bool InsertCustomer(Models.Customer C) { using (PersonServiceClient proxy = new PersonServiceClient()) { if (C != null) { Customer Cc = new Customer(); Cc.Email = C.Email; Cc.Password = C.Password; Cc.FName = C.FName; Cc.LName = C.LName; Cc.PhoneNo = C.PhoneNo; proxy.InsertCustomer(Cc); return(true); } else { return(false); } } }