Пример #1
0
 private bool AddActivity()
 {
     return(ActivityDTO.AddNewActivity(new Activity(
                                           0,
                                           txtTitleActivity.Text,
                                           txtDescriptionActivity.Text,
                                           DateTime.Today
                                           )));
 }