public IActionResult Index() { var lst = _pricingService.GetAll().Where(x => !x.DeletedDate.HasValue); var model = lst.Select(x => x.ToViewModel(_pricingService, _documentService)).ToList(); return(View(model)); }