public ActionResult CertificateTypes(Guid notificationId, CertificationSelectionViewModel model)
 {
     if (!ModelState.IsValid)
     {
         return(View(model));
     }
     return(RedirectToAction("Shipments", new { notificationId, certificate = model.Certificate }));
 }
        public async Task <ActionResult> CertificateTypes(Guid notificationId)
        {
            var model = new CertificationSelectionViewModel
            {
                NotificationId   = notificationId,
                NotificationType = await mediator.SendAsync(new GetNotificationType(notificationId))
            };

            return(View(model));
        }