public IActionResult Add(Power power) { var result = _powerService.Add(power); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }