public void settingDeleteProfileToCommunication(string keyDialog, int profileId)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.settingDeleteProfileToCommunicationLogic(authorization.getUserId(), keyDialog, profileId);
        }
        public List <FriendModel> getAllFriends(string keyDialog, bool searchForCreate)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.getAllFriendsLogic(authorization.getUserId(), keyDialog, searchForCreate));
        }
        public void leaveCommunication(string keyDialog)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.leaveCommunicationLogic(authorization.getUserId(), keyDialog);
        }
        public void pinToTop(string keyDialog, bool isPin)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.pinToTopLogic(authorization.getUserId(), keyDialog, isPin);
        }
Beispiel #5
0
        public void deleteMessage(MessageDeleteListModel model)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.deleteMessageLogic(authorization.getUserId(), model);
        }
        public List <CommunicationDataModel> getCommunicationListByPart(int count, int number)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.getCommunicationListByPartLogic(authorization.getUserId(), count, number));
        }
Beispiel #7
0
        public PreviewProfileModel getPreviewProfileData(int typePeriod)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.previewData(authorization.getUserId(), typePeriod));
        }
Beispiel #8
0
        public DialogModel getMessageListByPart(int count, int number, string keyDialog)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.getMessageListByPartLogic(authorization.getUserId(), count, number, keyDialog));
        }
        public void deleteFromFriend(int deleteProfileId)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.deleteFromFriendLogic(authorization.getUserId(), deleteProfileId);
        }
Beispiel #10
0
        public PreviewProfileModel getProfileData()
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.profileData(authorization.getUserId()));
        }
        public void confirmFriend(int confirmProfileId, bool addFriend)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.confirmFriendLogic(authorization.getUserId(), confirmProfileId, addFriend);
        }
        public void wantToAddFriend(int wantAddProfileId)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.wantToAddFriendLogic(authorization.getUserId(), wantAddProfileId);
        }
        public List <FriendModel> searchFriend(int count, int number, string searchName)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.searchFriendLogic(authorization.getUserId(), count, number, searchName));
        }
        public void addToken(string token)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.addTokenLogic(authorization.getUserId(), token);
        }
Beispiel #15
0
        public int everyDayStatistics(EveryDayProfileStatisticsModel model)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.everyDayStatisticsLogic(authorization.getUserId(), model));
        }
        public void refreshToken(string newToken)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.refreshTokenLogic(authorization.getUserId(), newToken);
        }
Beispiel #17
0
        public ProfileStatisticsModel everyDayStatistics(int typePeriod)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.statisticByPeriodLogic(authorization.getUserId(), typePeriod));
        }
Beispiel #18
0
        public void sendMessage(MessageSendModel model, string keyDialog)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.sendMessageLogic(authorization.getUserId(), model, keyDialog);
        }
Beispiel #19
0
        public List <DetailsWeekStatisticks> detailsStatistics(string dateStart, int typePeriod)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.detilStatisticsdLogic(authorization.getUserId(), dateStart, typePeriod));
        }
Beispiel #20
0
        public void IsRead(string keyDialog)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.isReadMessageLogic(authorization.getUserId(), keyDialog);
        }
Beispiel #21
0
        public TotalProfileModel detailsStatistics(int profileId)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.totalData(authorization.getUserId(), profileId));
        }
        public void createCommunication(CommunicationShortModel model)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.createCommunicationLogic(authorization.getUserId(), model);
        }
Beispiel #23
0
        public ArduinoListModel getAllArduino()
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.getArduinoListLogic(authorization.getUserId()));
        }
        public void clearHistory(string keyDialog)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.clearHistoryLogic(authorization.getUserId(), keyDialog);
        }
Beispiel #25
0
        public void addArduino(ArduinoModel model)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.addArduinoLogic(authorization.getUserId(), model);
        }
        public void settingChangeInfoCommunication(string keyDialog, CommunicationChangeModel model)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.settingChangeInfoCommunicationLogic(authorization.getUserId(), keyDialog, model);
        }
Beispiel #27
0
        public void removeArduino(int arduinoId)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            logic.removeArduinoLogic(authorization.getUserId(), arduinoId);
        }
        public List <CommunicationDataModel> searchCommunicationByName(string searchName)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.searchCommunicationByNameLogic(authorization.getUserId(), searchName));
        }
        public FullFriendModel getFullFriends(int profileId, int typeUser)
        {
            AuthorizationUtils authorization = new AuthorizationUtils(Request);

            return(logic.getFullFriendLogic(authorization.getUserId(), profileId, typeUser));
        }