public async Task <ActionResult> ActivateTechnology(List <Guid> id) { if (!await _technologyRepo.Activate(id)) { return(BadRequest()); } return(Ok()); }
public async Task <ActionResult> ActivateProduct(List <Guid> id) { if (!await _productRepo.Activate(id)) { return(BadRequest()); } return(Ok()); }
public async Task <ActionResult> ActivateSolution(List <Guid> id) { if (!await _solutionRepo.Activate(id)) { return(BadRequest()); } return(Ok()); }