コード例 #1
0
 public int insertScrumTheme(ScrumThemeServiceModel scrumEpic)
 {
     ScrumThemeRepository repo = new ScrumThemeRepository(entities);
     ScrumTheme model = new ScrumTheme();
     model.CreateDate = scrumEpic.createdDate;
     model.LastUpdatedDate = scrumEpic.lastUpdatedDate;
     model.Subject = scrumEpic.subject;
     model.Id = 0;
     return repo.Insert(model);
 }
コード例 #2
0
 public int updateScrumTheme(ScrumThemeServiceModel scrumEpic)
 {
     ScrumThemeRepository repo = new ScrumThemeRepository(entities);
     throw new NotImplementedException();
 }
コード例 #3
0
ファイル: ScrumUtil.cs プロジェクト: adramalech/KolabApp
 public static ScrumThemeServiceModel mapScrumThemeEntityToModel(ScrumTheme scrumTheme)
 {
     ScrumThemeServiceModel model = new ScrumThemeServiceModel();
     model.createdDate = scrumTheme.CreateDate;
     model.description = scrumTheme.Description;
     model.id = scrumTheme.Id;
     model.lastUpdatedDate = scrumTheme.LastUpdatedDate;
     model.subject = scrumTheme.Subject;
     return model;
 }