internal User Sanitize() { return(JsonUser.Create(this).ToUser()); }
public static User ToUser(this JsonUser juser) { return(juser == null ? null : new User { Id = juser.Id, Email = juser.Email, UserName = juser.UserName, Employee = juser.Employee }); }