// GET: ManageProfile/Create
        public ActionResult Create()
        {
            var model = UserProfileMasterBAL.GetStudentProfileData(User.Identity.Name);

            model.CollageList = CollageMasterBAL.GetCollageList();
            model.GenderList  = UserProfileMasterBAL.BindGender();
            return(View(model));
        }
        public ActionResult Create(UserProfileMasterModel model)
        {
            model.StudentId   = UserProfileMasterBAL.GetStudentProfileData(User.Identity.Name).StudentId;
            model.CollageList = CollageMasterBAL.GetCollageList();
            model.GenderList  = UserProfileMasterBAL.BindGender();

            if (ModelState.IsValid)
            {
                UserProfileMasterBAL.CreateProfile(model);
                return(RedirectToAction("Create"));
            }
            else
            {
                return(View(model));
            }
        }