public async Task <ActionResult> GetById(int id) { var response = await _supplierManager.GetAsync(a => a.SupplierId == id); if (response == null) { return(NotFound()); } else { return(Ok(response)); } }