Example #1
0
        private void SaveByNeed(int needId, List <int> projectIds)
        {
            var id = Convert.ToInt32(drpNeed.SelectedValue);

            ProjectXNeedDataManager.DeleteByNeed(id, SessionVariables.RequestProfile);
            ProjectXNeedDataManager.CreateByNeed(id, projectIds.ToArray(), SessionVariables.RequestProfile);
        }
Example #2
0
 private void SaveProjectXNeed(int needId, List <int> projectIds)
 {
     ProjectXNeedDataManager.DeleteByNeed(needId, SessionVariables.RequestProfile);
     ProjectXNeedDataManager.CreateByNeed(needId, projectIds.ToArray(), SessionVariables.RequestProfile);
 }