public async Task <IActionResult> GetByCurso(int Id)
        {
            try
            {
                var results = await _repo.GetAlunosByCurso(Id);

                if (results.Length == 0)
                {
                    return(NotFound(MSG.NaoExisteAlunoCurso));
                }
                return(Ok(results));
            }
            catch (Exception)
            {
                return(this.StatusCode(StatusCodes.Status501NotImplemented, MSG.BancoDadosFalhou));
            }
        }