public static void CastToView([NotNull] ReviewStepOneVM reviewStepOneVM, [NotNull] ReviewStepOne model) { reviewStepOneVM.OrganisatorssWorkReview = model.OrganisatorssWorkReview; reviewStepOneVM.PlaceReview = model.PlaceReview; reviewStepOneVM.RegistrationProcessReview = model.PlaceReview; reviewStepOneVM.RelevanceReview = model.RelevanceReview; }
public static ReviewStepOne CastToModel([NotNull] ReviewStepOneVM reviewStepTwoVM) { return(new ReviewStepOne { OrganisatorssWorkReview = reviewStepTwoVM.OrganisatorssWorkReview, PlaceReview = reviewStepTwoVM.PlaceReview, RegistrationProcessReview = reviewStepTwoVM.RegistrationProcessReview, RelevanceReview = reviewStepTwoVM.RelevanceReview }); }