public HomeController(InterfaceBrochureRepository br,
                       InterfaceGuestBookRepository gbr,
                       InterfaceOptionsProductRepository opr)
 {
     BrochureRepository       = br;
     GuestBookRepository      = gbr;
     OptionsProductRepository = opr;
 }
Example #2
0
 public ConfigController(InterfaceMenuRepository menu,
                         InterfaceRoleMenuRepository rolemenu,
                         InterfaceRoleRepository role,
                         InterfaceUserRepository user,
                         InterfaceUserRoleRepository userrole,
                         InterfaceEventLogRepository eventlog,
                         InterfaceGuestBookRepository guestbook)
 {
     MenuRepository      = menu;
     RoleMenuRepository  = rolemenu;
     RoleRepository      = role;
     UserRepository      = user;
     UserRoleRepository  = userrole;
     LogRepository       = eventlog;
     GuestBookRepository = guestbook;
 }