public async Task <IActionResult> UpdateTechnology([FromBody] Technology technology, int id) { var app = await _technologyService.UpdateTechnology(technology, id); if (app.AppResult.Result == false) { return(BadRequest(app.AppResult)); } return(Ok(app.AppResult)); }