public IEnumerable<Reminder> GetAllForSender()
        {
            IList<Reminder> reminders;
            using (var myDataBaseContext = new DataBaseContext())
            {

                reminders = myDataBaseContext.Reminders.ToList();
            }

            return reminders;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectRepository"/> class.
 /// </summary>
 /// <param name="dataBaseContext">
 /// The data base context.
 /// </param>
 public ProjectRepository(DataBaseContext dataBaseContext)
 {
     this.dataBaseContext = dataBaseContext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HumanTaskRepository"/> class.
 /// </summary>
 /// <param name="dataBaseContext">
 /// The data base context.
 /// </param>
 public HumanTaskRepository(DataBaseContext dataBaseContext)
 {
     this.dataBaseContext = dataBaseContext;
 }
  public ReminderRepository(DataBaseContext dataBaseContext)
 {
     this.dataBaseContext = dataBaseContext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRepository"/> class.
 /// </summary>
 /// <param name="dataBaseContext">
 /// The data base context.
 /// </param>
 public UserRepository(DataBaseContext dataBaseContext)
 {
     this.dataBaseContext = dataBaseContext;
 }
 public NewsRepository(DataBaseContext dataBaseContext)
 {
     this.dataBaseContext = dataBaseContext;
 }