public void DeleteMapping(int idMap) { using (IContactsBackendDao dao = getDaoContext().DaoImpl.ContactsBackendDao) { dao.Delete(idMap); } }
public void UpdateMapping(SendMail.Model.ContactApplicationMapping.ContactsBackendMap map) { using (IContactsBackendDao dao = getDaoContext().DaoImpl.ContactsBackendDao) { dao.Update(map); } }
public ICollection <SendMail.Model.ContactApplicationMapping.ContactsBackendMap> FindAll() { using (IContactsBackendDao dao = getDaoContext().DaoImpl.ContactsBackendDao) { return(dao.GetAll()); } }
public ICollection <SendMail.Model.ContactApplicationMapping.ContactsBackendMap> FindPerCanaleTitoloEntita(int idCanale, int idTitolo, int idEntita) { using (IContactsBackendDao dao = getDaoContext().DaoImpl.ContactsBackendDao) { return(dao.GetPerCanaleTitoloEntita(idCanale, idTitolo, idEntita)); } }
public SendMail.Model.ContactApplicationMapping.ContactsBackendMap FindByIdMap(int idMap) { using (IContactsBackendDao dao = getDaoContext().DaoImpl.ContactsBackendDao) { return(dao.GetById(idMap)); } }