Esempio n. 1
0
        public TaskDefinitionContract Process(GetTaskDefinitionByIdRequest input)
        {
            var parameter = new GetTaskDefinition
            {
                OrganizationId   = input.OrganizationId,
                TaskDefinitionId = input.Id
            };

            _query.BuildQuery(parameter);

            using (DapperUnitOfWork.Begin())
            {
                var taskDefinition = _runner.Run(_query);

                var result = TaskDefinitionMapper.Map(taskDefinition);

                return(result);
            }
        }
 public TaskDefinitionBasicContract Map(TaskDefinitionBasicPoco source)
 {
     return(TaskDefinitionMapper.Map(source));
 }