示例#1
0
        public async Task <IActionResult> DeleteQualification(VacancyRouteModel vrm, [FromForm] int index)
        {
            await _orchestrator.DeleteQualificationAsync(vrm, index, User.ToVacancyUser());

            TempData[QualificationDeletedTempDataKey] = 1;
            return(RedirectToRoute(RouteNames.Qualifications_Get));
        }
 public async Task DeleteQualificationAsync(VacancyRouteModel vacancyRouteModel, int index)
 {
     await Sut.DeleteQualificationAsync(vacancyRouteModel, index, User);
 }