// GET CREATE PULSE
        public ViewResult Create(int ClientID)
        {
            // create view model
            var viewModel = new PulseFormViewModel
            {
                clientId = ClientID
            };

            return View("Edit", viewModel);
        }
        public ActionResult Edit(PulseFormViewModel pulseForm)
        {
            var pulse = Mapper.Map<PulseFormViewModel, Pulse>(pulseForm);

            if (ModelState.IsValid)
            {
                _clientsRepository.SavePulse(pulse);
                TempData["message"] = "Pulse area: " + pulse.PulseArea + " has been saved.";
                return RedirectToAction("List", "InitialAssessments", new { pulse.ClientId });
            }
            return View("Edit", pulseForm);
        }