public string getInboxMessage(string username, string vacancyNumber, string status)
        {
            InboxMessageSearchServiceImpl inboxService = new InboxMessageSearchServiceImpl();
            List<InboxDTO> inboxList = inboxService.getUserInboxMessagesByVacancy(username, vacancyNumber);

            foreach (InboxDTO inboxDto in inboxList)
            {
                if (inboxDto.status.Equals(status))
                {
                    return inboxDto.message;
                }
            }
            return null;
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            String username = (String) Session["username"];
            String vacancyNumber = (String) Session["vacancyNumber"];

            setUsername(username);
            setVacancyNumber(vacancyNumber);

            InboxMessageSearchService seach = new InboxMessageSearchServiceImpl();
            List<InboxDTO> inboxList = seach.getUserInboxMessagesByVacancy(getUsername(), getVacancyNumber());

            rptInbox.DataSource = inboxList;
            rptInbox.DataBind();

            if (IsPostBack)
            {
            }
        }