Пример #1
0
 private void AddProjects()
 {
     foreach (Project PR in _presenter.GetProjects())
     {
         if (_presenter.GetProjectfromCostSharing(PR.Id) == null)
         {
             CostSharingSetting CSS = new CostSharingSetting();
             CSS.Project = _presenter.GetProject(PR.Id);
             _presenter.SaveOrUpdateCostSharing(CSS);
         }
     }
 }
Пример #2
0
 public void DeleteCostSharingSetting(CostSharingSetting CostSharingSetting)
 {
     _controller.DeleteEntity(CostSharingSetting);
 }
Пример #3
0
 public void SaveOrUpdateCostSharing(CostSharingSetting project)
 {
     _controller.SaveOrUpdateEntity(project);
 }