示例#1
0
        public async Task <ActionResult> EditTechnology(TechnologyType technology)
        {
            if (technology == null)
            {
                return(BadRequest());
            }

            await _technologyRepo.Update(technology);

            return(new JsonResult("Success"));
        }
示例#2
0
        public async Task <ActionResult> EditService(ServiceType service)
        {
            if (service == null)
            {
                return(BadRequest());
            }

            await _serviceRepo.Update(service);

            return(new JsonResult("Success"));
        }
示例#3
0
        public async Task <ActionResult> EditSolution(SolutionType solution)
        {
            if (solution == null)
            {
                return(BadRequest());
            }

            await _solutionRepo.Update(solution);

            return(new JsonResult("Success"));
        }
示例#4
0
        public async Task <ActionResult> EditProduct(ProductType product)
        {
            if (product == null)
            {
                return(BadRequest());
            }

            await _productRepo.Update(product);

            return(Ok());
        }