// POST api/getuserprofile
        //public void Post([FromBody]UserProfile profile)
        public IEnumerable<UserProfile> Post(UserProfile profile)
        {
            //Security testing
            //var principal = Thread.CurrentPrincipal;

            //end security testing

            UserProfileDB.GetInstance().UserProfiles.Add(profile);
            return UserProfileDB.GetInstance().UserProfiles;
        }
 public ActionResult Index(UserProfile profile)
 {
     return View();
 }