public List <Folder> GetAllFoldersByAccount(int id) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetAllFoldersByAccount(id)); } }
public IList <MailUser> GetUserByServerAndUsername(decimal idServer, string userName) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetUserByServerAndUsername(idServer, userName)); } }
public IList <MailUser> GetUsersByMails(IList <String> mails) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetUsersByMails(mails)); } }
public void Insert(MailUser user) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { dao.Insert(user); } }
public void Update(MailUser user) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { dao.Update(user); } }
public ActiveUp.Net.Mail.DeltaExt.MailUser GetById(decimal id) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetById(id)); } }
public MailUser GetManagedUserByAccount(string account) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetManagedUserByAccount(account)); } }
public IList <MailUser> GetAllManaged() { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return((IList <ActiveUp.Net.Mail.DeltaExt.MailUser>)dao.GetAllManaged()); } }
public MailUser GetUserByUserId(decimal userId) { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return(dao.GetById(userId)); } }
public IList <MailUser> GetAllManagedUsers() { using (MailAccountSQLDb dao = new MailAccountSQLDb()) { return((IList <MailUser>)dao.GetAllManaged()); } }