public ActionResult Create(PasswordModel model)
        {
            try
            {
                model.Id = Guid.NewGuid().ToString();
                model.Password = _caesarChipherEncryptor.Encrypt(model.Password, WordShift);
                _repository.Save(model);

                return RedirectToAction("Index");
            }
            catch
            {
                return View(model);
            }
        }
        public ActionResult Edit(PasswordModel model)
        {
            try
            {
                var oldPass = _repository.GetSpecific(p => p.Id == model.Id);
                model.Password = _caesarChipherEncryptor.Encrypt(model.Password, WordShift);
                _repository.Edit(oldPass, model);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
        public ActionResult Delete(PasswordModel pass)
        {
            try
            {
                _repository.Delete(pass);
                return RedirectToAction("Index");

            }
            catch (Exception)
            {
                return View(pass);
            }
        

        }