public OperationResult Create(CreatePlans command)
        {
            var operation = new OperationResult();

            var plan = new Plans(command.PlanName, command.PlanPrice, command.PlanDescription1, command.PlanDescription2, command.PlanDescription3,
                                 command.PlanDescription4, command.PlanDescription5, command.PlanDescription6, command.PlanDescription7,
                                 command.PlanDescription8, command.PlanDescription9, command.PlanDescription10);

            _plansRepository.Create(plan);
            _plansRepository.SaveChanges();

            return(operation.Succedded());
        }
        public JsonResult OnPostCreate(CreatePlans command)
        {
            var result = _plansApplication.Create(command);

            return(new JsonResult(result));
        }
        public IActionResult OnGetCreate()
        {
            var command = new CreatePlans();

            return(Partial("./Create", command));
        }