public IActionResult Deleteservice([FromQuery] int gid) { try { var result = garageService.DeleteService(gid); return(StatusCode(StatusCodes.Status200OK, result)); } catch (Exception e) { return(StatusCode(StatusCodes.Status500InternalServerError, e.Message)); } }