public static Organizer.Models.View.UserView MapUserToView(this Organizer.Context.User user) { return(new Organizer.Models.View.UserView { Id = user.Id, Name = user.Name, Surname = user.Surname, Deleted = user.Deleted }); }
public static void SaveUserModify(this Organizer.Context.User user, Organizer.Models.Modify.UserModify userModify) { user.Name = userModify.Name; user.Surname = userModify.Surname; }