コード例 #1
0
        public PlanDto CreatePlan(CreatePlanInput input)
        {
            Plan plan = _mapper.Map <Plan>(input);

            _planDomainService.ActivePlan(plan);
            _planRepository.Insert(plan);

            return(_mapper.Map <PlanDto>(plan));
        }