public static User MapUser(UserEntity userEntity)
        {
            if (userEntity == null)
            {
                return(null);
            }

            var user = new User
            {
                Email      = userEntity.Email,
                FirstName  = userEntity.FirstName,
                MiddleName = userEntity.MiddleName,
                LastName   = userEntity.LastName
            };

            BaseMapper.MapAuditableEntity(user, userEntity);
            return(user);
        }