public ActionResult CreateDeveloper(DeveloperFormViewModel viewModel)
        {
            if (!ModelState.IsValid)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            var developer = Mapper.Map <DeveloperFormViewModel, Developer>(viewModel);

            try
            {
                developerRepository.AddDeveloper(developer);

                unitOfWork.Save();
                return(RedirectToAction("Index", "Home"));
            }
            catch (Exception)
            {
                return(View("DeveloperForm"));
            }
        }
        public ActionResult CreateDeveloper(string userId)
        {
            var viewModel = new DeveloperFormViewModel(userId);

            return(View("DeveloperForm", viewModel));
        }