public async Task <IActionResult> Create(CreateCVEmployeeInformationDto input) { var newCV = await _EmployeeAppService.CreateCVEmPloyeeInformationAsync(input); return(Ok(newCV)); }
// [AbpAuthorize(PermissionNames.Pages_Group6_Recruitment_Create)] public async Task <CVEmployeeInformationDto> CreateCVEmPloyeeInformationAsync(CreateCVEmployeeInformationDto input) { var cv = ObjectMapper.Map <CVEmployeeInformation>(input); cv = await _cvemployeeInformationRepo.InsertAsync(cv); await CurrentUnitOfWork.SaveChangesAsync(); return(ObjectMapper.Map <CVEmployeeInformationDto>(cv)); }