public static CreateSuggestionModel UpdateProjectsList(CreateSuggestionModel model)
 {
     model.Projects = ProjectsRepositories.GetAllProjects();
     model.Projects.Insert(0, (new Project {
         Name = "General", Id = 0
     }));
     return(model);
 }
        public static CreateSuggestionModel GetEditSuggestionModel(int suggestionId)
        {
            CreateSuggestionModel model = new CreateSuggestionModel();

            model.Projects = ProjectsRepositories.GetAllProjects();
            model.Projects.Insert(0, (new Project {
                Name = "General", Id = 0
            }));
            model.Suggestion = SuggestionsRepositories.GetSuggestionById(suggestionId);
            return(model);
        }