示例#1
0
        public async Task <ActionResult> ActivateTechnology(List <Guid> id)
        {
            if (!await _technologyRepo.Activate(id))
            {
                return(BadRequest());
            }

            return(Ok());
        }
示例#2
0
        public async Task <ActionResult> ActivateProduct(List <Guid> id)
        {
            if (!await _productRepo.Activate(id))
            {
                return(BadRequest());
            }

            return(Ok());
        }
示例#3
0
        public async Task <ActionResult> ActivateSolution(List <Guid> id)
        {
            if (!await _solutionRepo.Activate(id))
            {
                return(BadRequest());
            }

            return(Ok());
        }