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); }
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)); }
public PreviewProfileModel getPreviewProfileData(int typePeriod) { AuthorizationUtils authorization = new AuthorizationUtils(Request); return(logic.previewData(authorization.getUserId(), typePeriod)); }
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); }
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); }
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); }
public ProfileStatisticsModel everyDayStatistics(int typePeriod) { AuthorizationUtils authorization = new AuthorizationUtils(Request); return(logic.statisticByPeriodLogic(authorization.getUserId(), typePeriod)); }
public void sendMessage(MessageSendModel model, string keyDialog) { AuthorizationUtils authorization = new AuthorizationUtils(Request); logic.sendMessageLogic(authorization.getUserId(), model, keyDialog); }
public List <DetailsWeekStatisticks> detailsStatistics(string dateStart, int typePeriod) { AuthorizationUtils authorization = new AuthorizationUtils(Request); return(logic.detilStatisticsdLogic(authorization.getUserId(), dateStart, typePeriod)); }
public void IsRead(string keyDialog) { AuthorizationUtils authorization = new AuthorizationUtils(Request); logic.isReadMessageLogic(authorization.getUserId(), keyDialog); }
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); }
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); }
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); }
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)); }