public Stream GetApplicationItem(string idApplication)
        {
            BaseBusinessService <ApplicationItem> businessService = (BaseBusinessService <ApplicationItem>)BusinessFactory.Create(Keywords.FindApplicationItem);
            OperationResult result = businessService.Get(idApplication);

            return(result.ToJsonStream());
        }
        public Stream GetGlobalApplicationSetting(string idGlobalApplicationSetting)
        {
            BaseBusinessService <GlobalApplicationSetting> businessService = (BaseBusinessService <GlobalApplicationSetting>)BusinessFactory.Create(Keywords.FindGlobalApplicationSetting);
            OperationResult result = businessService.Get(idGlobalApplicationSetting);

            return(result.ToJsonStream());
        }
Exemplo n.º 3
0
        public Stream GetAuthenticationSession(string idAuthenticationSession)
        {
            BaseBusinessService <AuthenticationSession> businessService = (BaseBusinessService <AuthenticationSession>)BusinessFactory.Create(Keywords.FindAuthenticationSession);
            OperationResult result = businessService.Get(idAuthenticationSession);

            return(result.ToJsonStream());
        }
Exemplo n.º 4
0
        public Stream GetGender(string idGender)
        {
            BaseBusinessService <Gender> businessService = (BaseBusinessService <Gender>)BusinessFactory.Create(Keywords.FindGender);
            OperationResult result = businessService.Get(idGender);

            return(result.ToJsonStream());
        }
        public Stream GetUserLogin(string idUser)
        {
            BaseBusinessService <UserLogin> businessService = (BaseBusinessService <UserLogin>)BusinessFactory.Create(Keywords.FindUserLogin);
            OperationResult result = businessService.Get(idUser);

            return(result.ToJsonStream());
        }
Exemplo n.º 6
0
        public Stream GetLanguage(string idLanguage)
        {
            BaseBusinessService <Language> businessService = (BaseBusinessService <Language>)BusinessFactory.Create(Keywords.FindLanguage);
            OperationResult result = businessService.Get(idLanguage);

            return(result.ToJsonStream());
        }
Exemplo n.º 7
0
        public Stream GetRefreshToken(string idRefreshToken)
        {
            BaseBusinessService <RefreshToken> businessService = (BaseBusinessService <RefreshToken>)BusinessFactory.Create(Keywords.FindRefreshToken);
            OperationResult result = businessService.Get(idRefreshToken);

            return(result.ToJsonStream());
        }
        public Stream GetCountry(string idCountry)
        {
            BaseBusinessService <Country> businessService = (BaseBusinessService <Country>)BusinessFactory.Create(Keywords.FindCountry);
            OperationResult result = businessService.Get(idCountry);

            return(result.ToJsonStream());
        }