public async Task <IActionResult> PostStudent(string ritmLogin, int semesterNumber, [FromBody] Semester semester)
        {
            try
            {
                var newSemester = await _studentsRepository.CreateSemester(ritmLogin, semester);

                return(OkJson(newSemester));
            }
            catch (Exception e)
            {
                throw new Exception($"Exception when creating user {ritmLogin} semester {semesterNumber}.", e);
            }
        }