Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. IEntityToModelMapper mapper;
  2. mapper.Convert<MyModel>().Map<MyViewModel>();
  3.  
  4. GenericViewModel model = _mapper.Convert<MyModel>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement