public async Task <ActionResult> EditTechnology(TechnologyType technology) { if (technology == null) { return(BadRequest()); } await _technologyRepo.Update(technology); return(new JsonResult("Success")); }
public async Task <ActionResult> EditService(ServiceType service) { if (service == null) { return(BadRequest()); } await _serviceRepo.Update(service); return(new JsonResult("Success")); }
public async Task <ActionResult> EditSolution(SolutionType solution) { if (solution == null) { return(BadRequest()); } await _solutionRepo.Update(solution); return(new JsonResult("Success")); }
public async Task <ActionResult> EditProduct(ProductType product) { if (product == null) { return(BadRequest()); } await _productRepo.Update(product); return(Ok()); }