public void Update(string title, string description, PresentationLevel level, PresentationCategory category, string track, string timeSlot) { Title = title; Description = description; Level = level; Category = category; Track = string.IsNullOrEmpty(track) ? "None" : track; Slot = string.IsNullOrEmpty(timeSlot) ? "None" : timeSlot; Raise(new PresentationChanged { PresentationId = Id }); }
public Presentation(UserProfile user, string title, string description, PresentationLevel level, PresentationCategory category) { User = user; UserId = user.Id; Title = title; Description = description; Level = level; Category = category; Track = "None"; Slot = "None"; Status = PresentationStatus.Pending; Raise(new PresentationCreated {PresentationId = Id}); }
public Presentation(UserProfile user, string title, string description, PresentationLevel level, PresentationCategory category) { User = user; UserId = user.Id; Title = title; Description = description; Level = level; Category = category; Track = "None"; Slot = "None"; Status = PresentationStatus.Pending; Raise(new PresentationCreated { PresentationId = Id }); }
public void Update(string title, string description, PresentationLevel level, PresentationCategory category, string track, string timeSlot) { Title = title; Description = description; Level = level; Category = category; Track = string.IsNullOrEmpty(track) ? "None" : track; Slot = string.IsNullOrEmpty(timeSlot) ? "None" : timeSlot; Raise(new PresentationChanged {PresentationId = Id}); }