SHARE
TWEET

Untitled

a guest Sep 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static UserViewModel MapToViewModel(this User user)
  2.         {
  3.             var vm = new UserViewModel
  4.             {
  5.                 LoggerId = user.LoggerId,
  6.                 UserName = user.UserName,
  7.                 RoleName = user.Role.Name
  8.             };
  9.             return vm;
  10.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top