public async Task AddPersonRecense( string message, string personUuid ) { var session = new Session( AddPersonRecensePart ); session.AddParameter( "message", message ); session.AddParameter( "personUuid", personUuid ); await Load( session ); }
public async Task AddBookRecense( string message, int bookId ) { Session session = new Session( AddBookRecensePart ); session.AddParameter( "message", message ); session.AddParameter( "bookId", bookId ); await Load( session ); }
public async Task<bool> SearchBooks( string searchString ) { Session session = new Session( LoadBooksPart ); session.AddParameter( "search", searchString ); await Load( session ); return Founded; }
public Task<Session> LoadById( string id ) { Session session = new Session( LoadMainPart ); session.AddParameter( "id", id ); return Load( session ); }
public Task<Session> LoadByName( string personName ) { Session session = new Session( LoadMainPart ); session.AddParameter( "personName", personName ); return Load( session ); }
public async void ChangeNotificationStatus() { Session session = new Session( ChangeNotificationStatusPart ); session.AddParameter( "person", Entity ); await Load( session ); }
public Task RemoveFromHistory( SearchQuery query ) { Session session = new Session("RemoveFromHistoryPart"); session.AddParameter( QueryParameter, query ); return Load( new Session() ); }
public Task AddToHistory( SearchQuery query ) { Session session = new Session("AddToHistory"); session.AddParameter( QueryParameter, query ); return Load( new Session() ); }
public async Task ChangePassword( UserInformation information ) { Session session = new Session( ChangePasswordPart ); session.AddParameter( ChangePasswordParameter, information ); await Load( session ); }
public async Task Register(CatalitCredentials credentials) { Session session = new Session( RegistrationPart ); session.AddParameter(RegistrationParameter, credentials); await Load(session); }
public async void DeleteNotificationsCalled( XCollection<Notification> notifications ) { PreserveSessions( true ); if( notifications != null ) { var session = new Session( DeleteNotificationPart ); session.AddParameter( "delete", notifications ); await Load( session ); } }
private async void AddToDepositFunc(DepositType dt) { var session = new Session(AddToDepositPart); session.AddParameter("depositType", dt); await Load(session); }
public async Task Login(CatalitCredentials credentials) { Session session = new Session( LoginPart ); session.AddParameter( LoginParameter, credentials ); await Load( session ); }