public int AddProblemStatement(SudokuModel model) { try { _problemRepository.AddProblemStatement(model); return(1); } catch (Exception ex) { return(-1); } }