public ActionResult CreateProfile(ProfileDetailsCreateModel profileCreateModel)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    unitOfWork.InserProfileDetailsByUsername(profileCreateModel.Name, profileCreateModel.ContactNumber, profileCreateModel.Profession,User.Identity.Name);
                    unitOfWork.Save();

                }
                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
        public ActionResult Create(ProfileDetailsCreateModel profileCreateModel)
        {
            try
            {
                // TODO: Add insert logic here
                if (ModelState.IsValid)
                {
                    unitOfWork.InsertProfileDetails(profileCreateModel.Name, profileCreateModel.ContactNumber, profileCreateModel.Profession);

                }

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }