예제 #1
0
        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());
        }