コード例 #1
0
        public ActionResult AdvertiseRequestList()
        {
            IEnumerable <JPurchaseAdvertise> purchaseAdvertise = advertiseUnitOfWork.GetAllAdvertiseRequest();
            AdvertiseRequestListViewModels   model             = new AdvertiseRequestListViewModels();

            model.advertiseRequestList = purchaseAdvertise;
            return(View(model));
        }
コード例 #2
0
        public ActionResult FindPurchaseAdvertise(string packageType, string recruiterName)
        {
            AdvertiseRequestListViewModels   model             = new AdvertiseRequestListViewModels();
            IEnumerable <JPurchaseAdvertise> purchaseAdvertise = advertiseUnitOfWork.FindAdvertiseRequest(packageType, recruiterName);

            model.advertiseRequestList = purchaseAdvertise;
            model.recruiterName        = recruiterName;
            return(View("AdvertiseRequestList", model));
        }
コード例 #3
0
        public ActionResult AdvertiseRequestListRecruiter()
        {
            string userID = advertiseUnitOfWork.AspNetUserRepository.Get(s => s.UserName == User.Identity.Name).FirstOrDefault().Id;
            IEnumerable <JPurchaseAdvertise> purchaseAdvertise = advertiseUnitOfWork.GetAllAdvertiseRequest(userID);
            AdvertiseRequestListViewModels   model             = new AdvertiseRequestListViewModels();

            model.advertiseRequestList = purchaseAdvertise;
            return(View(model));
        }