示例#1
0
        public override void Handle(GetPracticeVersionInfoRequest request)
        {
            if (!IsRequestValid(request.SessionId, request.UserId, request.MedicalPracticeId))
            {
                return;
            }

            var practiceVersion = dataCenter.GetMedicalPracticeVersion(request.MedicalPracticeId,
                                                                       request.Day);

            Socket.SendNetworkMsg(new GetPracticeVersionInfoResponse(practiceVersion));
        }