public static List <Solution> GetSolutionsList(int page)
        {
            int takeCount = Config.PageItemCount();
            int skipCount = page * takeCount;

            return(SolutionsRepositories.GetSolutionsList(skipCount, takeCount));
        }
 public static void DeleteSolution(int id)
 {
     SolutionsRepositories.DeleteSolution(id);
 }
 public static void UpdateSolution(Solution solution)
 {
     SolutionsRepositories.UpdateSolution(solution);
 }
 public static void InsertNewSolution(Solution solution)
 {
     SolutionsRepositories.InsertNewSolution(solution);
 }
 public static Solution GetSolutionById(int id)
 {
     return(SolutionsRepositories.GetSolutionById(id));
 }