Esempio n. 1
0
 public int SavePersonaBarMenu(string identifier, string moduleName, string folderName, string controller, string resourceKey, string path,
                               string link, string cssClass, int parentId, int order, bool allowHost, bool enabled, int currentUserId)
 {
     return(DataProvider.ExecuteScalar <int>("PersonaBar_SavePersonaBarMenu", identifier, moduleName, folderName, controller, resourceKey, path,
                                             Null.GetNull(link, DBNull.Value), Null.GetNull(cssClass, DBNull.Value),
                                             Null.GetNull(parentId, DBNull.Value), order, allowHost, enabled, currentUserId));
 }
Esempio n. 2
0
 public int AddNewJob(int portalId, int userId, JobType jobType,
                      string jobName, string jobDescription, string directory, string serializedObject)
 {
     return(_dataProvider.ExecuteScalar <int>("ExportImportJobs_Add", portalId,
                                              (int)jobType, userId, jobName, jobDescription, directory, serializedObject));
 }