public ActionResult CreateProfile(FormCollection collection) { var nickname = collection["nickname"]; var username = collection["username"]; var email = collection["email"]; var password = collection["password"]; ProfileServiceClient client = new ProfileServiceClient(); int i = client.CreateProfileWithInputs(username, nickname, email, password); ViewBag.i = i; return(View()); }