BinaryStudio.TaskManager.Logic.Core.ReminderRepository.GetAllForSender C# (CSharp) Method

GetAllForSender() public method

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

                reminders = myDataBaseContext.Reminders.ToList();
            }

            return reminders;
        }