public IActionResult BundleCreated(string bundleId) { if (bundleRepo.ContainsBundle(bundleId)) { return(View(new BundleViewModel(bundleRepo.Get(bundleId), GetDumpListViewModels(bundleId)))); } throw new NotImplementedException($"bundleid '{bundleId}' does not exist in repository"); }
public async Task <IActionResult> BundleCreated(string bundleId) { if (bundleRepo.ContainsBundle(bundleId)) { return(View("BundleCreated", new BundleViewModel(bundleRepo.Get(bundleId), await GetDumpListViewModels(bundleId)))); } throw new Exception($"bundleid '{bundleId}' does not exist in repository"); }