public ActionResult Edit(SettingsAdminViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View(model));
            }

            _mailingRepository.TestMail();
            _settingsRepository.Update(_mapper.Map <Settings>(model));
            _unitOfWork.SaveChanges();

            return(Redirect("/Admin/Order/Index"));
        }