Пример #1
0
        //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));
        }
Пример #2
0
 public async Task <IEnumerable <InvitationDto> > GetInvitations(int jobSeekerId)
 {
     return(await bll.GetInvitaions(jobSeekerId));
 }