public void SaveUser(BirthdayModel config) { Database.Store(config, BirthdayModel.DocumentName(config.UserId)); }
public BirthdayModel GetUser(ulong userId) { var config = Database.Load <BirthdayModel>(BirthdayModel.DocumentName(userId)); return(config); }