예제 #1
0
 public ActionResult MoreDetails(MoreDetailsModel model)
 {
     _authenticationService.AddedDetails(User.TryGetPrincipal());
     _gate.Dispatch(new MoreDetailsCommand(
                        User.TryGetPrincipal().UserId,
                        model.FirstName,
                        model.LastName,
                        model.Address,
                        model.Suburb,
                        model.City,
                        model.Country,
                        model.Postcode,
                        model.Gender,
                        model.Orientation,
                        model.Romance,
                        model.Friendship));
     return(RedirectToAction("Index", "DinnerList"));
 }