Пример #1
0
 public MeetingDto(TheDebateApp.Models.Meeting entity)
 {
     this.Id       = entity.Id;
     this.Date     = string.Format("{0:yyyy-MM-dd}", entity.Date);
     this.Name     = entity.Name;
     this.Start    = entity.Start;
     this.End      = entity.End;
     this.Abstract = entity.Abstract;
     this.Agenda   = entity.Agenda;
     this.Minutes  = entity.Minutes;
 }
Пример #2
0
 public MeetingAddOrUpdateResponseDto(TheDebateApp.Models.Meeting entity)
     : base(entity)
 {
 }