public static DTO.UserIdentity ToDto(this Display.UserIdentity displayEntity)
        {
            var dto = new DTO.UserIdentity(
                displayEntity.Email,
                displayEntity.FirstName,
                displayEntity.LastName,
                displayEntity.Active);

            return(dto);
        }
        public static Display.UserIdentity ToDisplayEntity(this DTO.UserIdentity dto)
        {
            var displayEntity = new Display.UserIdentity();

            displayEntity.Active        = dto.Active;
            displayEntity.Email         = dto.Email;
            displayEntity.Name          = dto.Name;
            displayEntity.FirstName     = dto.FirstName;
            displayEntity.LastName      = dto.LastName;
            displayEntity.Greeting      = dto.Greeting;
            displayEntity.LastLogin     = dto.LastLogin;
            displayEntity.LastLoginText = dto.LastLoginText;
            displayEntity.Created       = dto.Created;
            displayEntity.CreatedText   = dto.CreatedText;
            displayEntity.Edited        = dto.Edited;
            displayEntity.EditedText    = dto.EditedText;
            displayEntity.Editor        = dto.Editor;

            return(displayEntity);
        }