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

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

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

            return(Ok());
        }