public ActionResult <ProjectReadDto> CreateProject(ProjectCreateDto projectCreate)
        {
            var project = _mapper.Map <Project>(projectCreate);

            _repository.CreateProject(project);
            _repository.SaveChanges();

            return(Ok(projectCreate));
        }
        public ActionResult <ProjectReadDto> CreateProject(ProjectCreateDto projectCreateDto)
        {
            var project = _mapper.Map <Project>(projectCreateDto);

            _projectRepo.CreateProject(project);
            _projectRepo.SaveChanges();
            var projectReadDto = _mapper.Map <ProjectReadDto>(project);

            return(CreatedAtRoute(nameof(GetProjectById), new { id = projectReadDto.Id }, projectReadDto));
        }