public static ContactInfoBoxViewModel Map(ContactInfoDto ci) { var vm = new ContactInfoBoxViewModel(); vm.MapFrom(ci); return vm; }
private void ExecuteShowDetailsCommand(ContactInfoBoxViewModel model) { ShowViewModel<ContactInfoBoxViewModel>(new {id = model.Id, title = model.Title}); }