示例#1
0
 public AdminController(IAdmin _admin, IUsers _users, IAllMessages _allMessages)
 {
     adminFunc   = _admin;
     allUsers    = _users;
     allMessages = _allMessages;
 }
示例#2
0
 public AdminRepository(ApplicationContext _context, IUsers _users, IAllMessages _allMessages)
 {
     context     = _context;
     allUsers    = _users;
     allMessages = _allMessages;
 }
示例#3
0
 public MessageController(IAllSections _allSections, IAllMessages _allMessages, IUsers _allUsers)
 {
     allSections = _allSections;
     allMessages = _allMessages;
     allUsers    = _allUsers;
 }