public Analytic LoadAnalytic(DisplayEntities.Analytic analytic, int entityId, int searchGroupId, int commandId)
        {
            if (analytic != null)
            {
                analytic.Id            = entityId;
                analytic.SearchGroupId = searchGroupId;
            }
            var session = CreateRequest(analytic);

            session.ClientCommand = commandId;
            var      response = _analyticService.Load(session);
            Analytic data     = null;

            if (response.SessionOk)
            {
                data           = response.Data.ToDisplayEntity();
                data.SessionOk = response.SessionOk;
            }
            else
            {
                data = new Analytic
                {
                    SessionOk     = response.SessionOk,
                    ClientMessage = response.ClientMessage,
                    ServerMessage = response.ServerMessage,
                };
            }
            return(data);
        }