示例#1
0
 public BookController(IBookService book,
                       IMapVmToDTO mapper,
                       IToastNotification toast)
 {
     _bookService = book;
     _mapper      = mapper;
     _toast       = toast;
 }
 public AdminController(UserManager <User> userManager,
                        IRoleManagerService roleManager,
                        IUserService userService,
                        IMapVmToDTO dtoMapper)
 {
     _userManager = userManager;
     _roleManager = roleManager;
     _userService = userService;
     _dtoMapper   = dtoMapper;
 }