internal static User CheckCachedUser(User userCandidate) { var userInStorage = ReminderServiceWrapper.GetUserByGuid(userCandidate.Guid); if (userInStorage != null && userInStorage.CheckPassword(userCandidate)) { return(userInStorage); } return(null); }
public static bool UserExists(string login) { return(ReminderServiceWrapper.UserExists(login)); }
public static void SaveReminder(Reminder reminder) { ReminderServiceWrapper.SaveReminder(reminder); }
public static void AddReminder(Reminder reminder) { ReminderServiceWrapper.AddReminder(reminder); }
public static void DeleteReminder(Reminder selectedReminder) { ReminderServiceWrapper.DeleteReminder(selectedReminder); }
public static void AddUser(User user) { ReminderServiceWrapper.AddUser(user); }
public static User GetUserByLogin(string login) { return(ReminderServiceWrapper.GetUserByLogin(login)); }