public IActionResult getFormatii() { var listaForm = _profesorService.GetFormatii(); return(Ok(listaForm)); }