public async Task <IActionResult> Index() { PageViewModel PageData = new PageViewModel() { Title = "Dashboard", Description = "Admin Area dashboard", Active = "active", Area = "dashboard", ProfileList = await userRepository.GetAllUserProfile(), NewDocList = await documentRepository.GetAllPendingDocument() }; return(View(PageData)); }
public async Task <IActionResult> AllPendingRequest() { IEnumerable <DocumentViewModel> request = await documentRepository.GetAllPendingDocument(); //ViewBag.PageTitle = "Vehicle Details"; return(View(request)); }