public ActionResult Library(string id) { Guid?customerId = Migi.Framework.Helper.Types.GetNullableGuid(id); if (customerId.HasValue) { Models.Customer.Library customerLibrary = new Models.Customer.Library(customerId.Value, _customers.GetCustomerLibrary(customerId.Value, DateTime.UtcNow)); return(View(customerLibrary)); } return(new HttpNotFoundResult()); }
public ActionResult Library(string id) { Guid? customerId = Migi.Framework.Helper.Types.GetNullableGuid(id); if (customerId.HasValue) { Models.Customer.Library customerLibrary = new Models.Customer.Library(customerId.Value, _customers.GetCustomerLibrary(customerId.Value, DateTime.UtcNow)); return View(customerLibrary); } return new HttpNotFoundResult(); }