private void SaveByApplicationUser(int applicationUserId, List <int> productivityAreaFeatureIds) { var id = Convert.ToInt32(drpApplicationUser.SelectedValue); ProductivityAreaFeatureXApplicationUserDataManager.DeleteByApplicationUser(id, SessionVariables.RequestProfile.AuditId); ProductivityAreaFeatureXApplicationUserDataManager.Create(id, productivityAreaFeatureIds.ToArray(), SessionVariables.RequestProfile); }
private DataTable GetAssociatedApplicationUsers(int applicationUserFeatureId) { var id = Convert.ToInt32(drpApplicationUser.SelectedValue); var dt = ProductivityAreaFeatureXApplicationUserDataManager.GetByApplicationUser(id, SessionVariables.RequestProfile.AuditId); return(dt); }
private DataTable GetAssociatedProductivityAreaFeatures(int productivityAreaFeatureId) { var dt = ProductivityAreaFeatureXApplicationUserDataManager.GetByProductivityAreaFeature(productivityAreaFeatureId, SessionVariables.RequestProfile.AuditId); return(dt); }
private void SaveProductivityAreaFeatureXApplicationUser(int productivityAreaFeatureId, List <int> productivityAreaFeatureIds) { ProductivityAreaFeatureXApplicationUserDataManager.DeleteByProductivityAreaFeature(productivityAreaFeatureId, SessionVariables.RequestProfile.AuditId); ProductivityAreaFeatureXApplicationUserDataManager.CreateByProductivityAreaFeature(productivityAreaFeatureId, productivityAreaFeatureIds.ToArray(), SessionVariables.RequestProfile); }