//GET: Profile/Invitations public async Task <ActionResult> Invitations() { var jobSeekerUser = (JobSeekerUser)(await UserManager.FindByIdAsync(User.Identity.GetUserId())); var invitations = await bll.GetInvitaions(jobSeekerUser.JobSeekerID.Value); return(View(invitations)); }
public async Task <IEnumerable <InvitationDto> > GetInvitations(int jobSeekerId) { return(await bll.GetInvitaions(jobSeekerId)); }