public static void SetTo(this UserItemView view, User model) { Mapper.Map(view, model); }
public static User ToModel(this UserItemView view) { return(Mapper.Map <User>(view)); }