Ignore:
Timestamp:
01/19/22 19:14:27 (3 years ago)
Author:
Стојков Марко <mst@…>
Branches:
dev
Parents:
f3c4950
Message:

Added notifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FinkiChattery/FinkiChattery.Persistence/UnitOfWork/Implementations/UnitOfWork.cs

    rf3c4950 r6738cc0  
    1717        private TeacherRepo _teachers;
    1818        private AnswerResponseRepo _answerResponses;
     19        private StudentNotificationRepo _studentNotifications;
    1920
    2021        public UnitOfWork(ApplicationDbContext dbContext)
     
    3334
    3435                return _answerResponses;
     36            }
     37        }
     38
     39        public IStudentNotificationRepo StudentNotifications
     40        {
     41            get
     42            {
     43                if (_studentNotifications == null)
     44                {
     45                    _studentNotifications = new StudentNotificationRepo(DbContext);
     46                }
     47
     48                return _studentNotifications;
    3549            }
    3650        }
Note: See TracChangeset for help on using the changeset viewer.