public ActionResult Edit(int Id)
        {
            try
            {
                Suggestion suggestion = BusinessLayer.SuggestionBusiness.Get(Id);
                EditSuggestionViewModel viewModel = new EditSuggestionViewModel
                {
                    Title = suggestion.Title,
                    Sport = suggestion.Sport.Name,
                    StartDate = suggestion.StartDate,
                    EndDate = suggestion.EndDate,
                    Description = suggestion.Description,
                    MinPeople = suggestion.MinimumUsers,
                    MaxPeople = suggestion.MaximumUsers,
                    OriginalId = suggestion.Id
                };

                return View(viewModel);
            }
            catch (DomainException e)
            {
                return View("Error", ErrorHelper.ErrorModelForDomainException(e));
            }
        }
        public ActionResult Edit(EditSuggestionViewModel model)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    Suggestion suggestion = GetDomainFromViewModel(model);
                    suggestion.Id = model.OriginalId;

                    // Validate suggestion with user
                    int userId = BusinessLayer.UserBusiness.Get(HttpContext.User.Identity.Name).Id;

                    // Update suggestion
                    BusinessLayer.SuggestionBusiness.Update(suggestion, userId);
                    return RedirectToAction("Index", "Dashboard");
                }
                catch (DomainException e)
                {
                    return View("Error", ErrorHelper.ErrorModelForDomainException(e));
                }
            }
            else
            {
                return View(model);
            }
        }