public override void Handle(GetPatientListRequest request) { if (!IsRequestValid(request.SessionId, request.UserId)) { return; } var patientsToDeliver = dataCenter.GetAllPatients().ToList(); Socket.SendNetworkMsg(new GetPatientListResponse(patientsToDeliver)); }