Exemple #1
0
        public void Add()
        {
            var checklist = ChecklistRepository.Add(ChecklistName);

            Checklists.Add(checklist);
            // After creation, hide checklist selection screen and show actual checklist and map.
        }
 public UnitOfWork(ApplicationDbContext context)
 {
     _context            = context;
     ChecklistRepository = new ChecklistRepository(_context);
     TaskRepository      = new TaskRepository(_context);
 }
 CkeckListController()
 {
     this.repository = new ChecklistRepository();
 }