public async Task <ActionResult <EducationViewModel> > CreateEducation(EducationInputViewModel viewModel) { Education createdEducation = await EducationService.AddEducation(Mapper.Map <Education>(viewModel)); return(CreatedAtAction(nameof(GetEducation), new { id = createdEducation.Id }, Mapper.Map <EducationViewModel>(createdEducation))); }