public IActionResult CloseAccount(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } if (_service.CloseAccount(id)) { return(Ok()); } return(BadRequest()); }
public IActionResult CloseAccount(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } if (_service.CloseAccount(id)) { return(Ok()); } return(BadRequest()); }