public async Task <IActionResult> InsertCamera([FromBody] UpdateCameraRequest request) { string userGuid = HttpContext.Request.Headers["UserGuid"]; CameraLogic cameraLogic = new CameraLogic(); await cameraLogic.InsertCamera(request, userGuid); if (!cameraLogic.Response.IsSuccessful) { return(BadRequest(cameraLogic.Response.ErrorMessage)); } return(Ok("Success")); }