public IActionResult GetAuthorizedPlanViewProjects()
        {
            var authorizedProjectEntities = _ProjectInfoRepository.GetAuthorizedPlanViewProjects();

            if (authorizedProjectEntities.Count() == 0)
            {
                return(Ok(new List <AuthorizedPlanViewProjectDto>()));
            }
            var results = _mapper.Map <IEnumerable <AuthorizedPlanViewProjectDto> >(authorizedProjectEntities);

            return(Ok(results));
        }
        public IActionResult GetAuthorizedPlanViewProjects()
        {
            var authorizedProjectEntities = _ProjectInfoRepository.GetAuthorizedPlanViewProjects();
            var results = Mapper.Map <IEnumerable <AuthorizedPlanViewProjectDto> >(authorizedProjectEntities);

            return(Ok(results));
        }