public async Task <ActionResult <IEnumerable <Professor> > > Get()
        {
            IEnumerable <Professor> professors;

            _logger.Log(LogLevel.Debug, "Request Received for ProfessorsV2Controller::Get");

            professors = await _professorsCosmosBll.GetAllProfessors();

            _logger.Log(LogLevel.Debug, "Returning the results from ProfessorsV2Controller::Get");

            return(Ok(professors));
        }
        public override async Task <AllProfessorsResonse> GetAllProfessors(Empty request, ServerCallContext context)
        {
            AllProfessorsResonse allProfessorsResonse = new AllProfessorsResonse();

            _logger.Log(LogLevel.Debug, "Request Received for CollegeGrpcService::GetAllProfessors");

            //var allProfessors = await _professorsSqlBll.GetAllProfessors()
            //                                                .ConfigureAwait(false);

            var allProfessors = await _professorsCosmosBll.GetAllProfessors()
                                .ConfigureAwait(false);

            allProfessorsResonse.Count = allProfessors.Count();

            foreach (var professor in allProfessors)
            {
                // TODO: Remove Technical Debt
                allProfessorsResonse.Professors.Add(GetProfessorObject(professor));
            }

            _logger.Log(LogLevel.Debug, "Returning the results from CollegeGrpcService::GetAllProfessors");

            return(allProfessorsResonse);
        }