public async Task <IActionResult> PartnerIndex() { var list = await _partnerRepository.GetAllIncludes(); var modelList = new List <PartnerViewModel>( list.Where(st => st.Status == 2) .Select(a => _converter.ToPartnerViewModel(a)) .ToList()); return(View(modelList)); }