Changeset 6738cc0 for src/FinkiChattery/FinkiChattery.Persistence/UnitOfWork/Implementations/UnitOfWork.cs
Legend:
- Unmodified
- Added
- Removed
-
src/FinkiChattery/FinkiChattery.Persistence/UnitOfWork/Implementations/UnitOfWork.cs
rf3c4950 r6738cc0 17 17 private TeacherRepo _teachers; 18 18 private AnswerResponseRepo _answerResponses; 19 private StudentNotificationRepo _studentNotifications; 19 20 20 21 public UnitOfWork(ApplicationDbContext dbContext) … … 33 34 34 35 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; 35 49 } 36 50 }
Note:
See TracChangeset
for help on using the changeset viewer.