public IActionResult AlertClass(int groupID) { try { studentService.AlertClass(HttpContext.Session.GetStudentId(), groupID); return(Ok(new { status = "uspelo" })); } catch (Exception ex) { return(Ok(new { status = "nije uspelo", message = ex.Message })); } }