Пример #1
0
        public PartialViewResult SearchMemberFromReports(MemberReportViewModel viewModel)
        {
            var members = _services.GetMembers(viewModel);

            return PartialView();
        }
Пример #2
0
        public IEnumerable<Member> GetMembers(MemberReportViewModel viewModel)
        {
            IEnumerable<Member> members = _repo.Members.Where(m => m.HasAddEditPermission == viewModel.IsBrokerLoad);

            return members;
        }
Пример #3
0
        public ActionResult MemberReports()
        {
            MemberReportViewModel model = new MemberReportViewModel();

            ViewBag.IdSelEntryDate = new SelectList(model.sel_EntryDate, "Id","Value");
            ViewBag.IdSelTermDate = new SelectList(model.sel_TermDate, "Id", "Value");
            ViewBag.IdSelModDate = new SelectList(model.sel_ModDate, "Id", "Value");
            ViewBag.IdSelLicExpDate = new SelectList(model.sel_LicenseDate, "Id", "Value");

            return View(model);
        }