public ActionResult <InitiativeReadDto> Post(InitiativeCreateDto initiativeCreateDto) { var initiativeModel = _service.GetInitiativeModel(initiativeCreateDto); _repository.CreateInitiative(initiativeModel); _repository.SaveChanges(); var initiativeReadDto = _mapper.Map <InitiativeReadDto>(initiativeModel); return(CreatedAtRoute(nameof(GetInitiativeById), new { Id = initiativeReadDto.Id }, initiativeReadDto)); }