public IActionResult GetAccounts(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } var accounts = _service.GetAccounts(id); if (accounts == null) { return(BadRequest()); } return(Ok(accounts)); }
public IActionResult GetAccounts(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } var accounts = _service.GetAccounts(id); if (accounts == null) { return(BadRequest()); } return(Ok(accounts)); }