Example #1
0
        internal Heuristic CreateHeuristicEntity(CreateFilledInHeuristicModel heuristic)
        {
            var qa = new Heuristic
            {
                Id             = heuristic.Id,
                HeuristicText  = heuristic.HeuristicText,
                HeuristicTitle = heuristic.HeuristicTitle,
            };

            return(qa);
        }
Example #2
0
        internal AnsweredQuestion Create(CreateFilledInHeuristicModel heuristic)
        {
            var qa = new AnsweredQuestion
            {
                Id             = heuristic.Id,
                HeuristicTitle = heuristic.HeuristicTitle,
                HeuristicText  = heuristic.HeuristicText,
            };

            return(qa);
        }