public ActionResult Create(DeedUpdateRequestViewModel requestModel) //Needs a request view model
        {
            var deed = new Deed();

            requestModel.UpdateDeedModel(deed);

            bool success = DeedsManager.Save(deed);

            var viewModel = new DeedUpdateResponseViewModel(deed);

            viewModel.UpdateSuccess = success;

            return(RedirectToAction("Details", new { kidId = deed.KidID, timeOfDeed = deed.TimeOfDeed }));
        }
        public ActionResult Update(int kidId, DateTime timeOfDeed, DeedUpdateRequestViewModel requestModel) //Needs a request view model
        {
            var deed = DeedsManager.GetDeeds(kidId, timeOfDeed);

            requestModel.UpdateDeedModel(deed);

            bool success = DeedsManager.Save(deed);

            var viewModel = new DeedUpdateResponseViewModel(deed);

            viewModel.UpdateSuccess = success;

            return(View("~/Views/Deeds/AddOrUpdate.cshtml", viewModel));
        }