Beispiel #1
0
        private ClientModel GetOperationalClient()
        {
            ClientModel result = null;

            if (_session != null && _session["op_user_id"] != null && _session["op_user_id"] is long)
            {
                result = _repo.GetClientProjected((long)_session["op_user_id"]);
            }
            if (result == null)
            {
                result = _realClient;
            }
            return(result);
        }