public IActionResult FindByOfficeId(Guid id) { var result = _saleService.FindByOffice(id); if (result == null) { return(BadRequest()); } else { return(Ok(result)); } }