Esempio n. 1
0
 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");
 }
Esempio n. 2
0
 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");
 }