public async Task <ActionResult> FavoriteJobCreate(Guid jobOfferId) { var applicant = await ApplicantFacade.GetApplicantAccordingToUsernameAsync(User.Identity.Name); var favoriteJob = new FavoriteJobDto { JobOfferId = jobOfferId, ApplicantId = applicant.Id }; await JobOfferFacade.CreateFavoriteJobAsync(favoriteJob); return(RedirectToAction("JobOfferList", "Applicant")); }