コード例 #1
0
 public RestoransController(RestoransRepository restoransRepository, IMapper mapper, BronRestoRepository bronRestoRepository, BronRestoBusiness bronRestoBusiness)
 {
     _restoransRepository = restoransRepository;
     MapResto             = mapper;
     _bronRestoRepository = bronRestoRepository;
     _bronRestoBusiness   = bronRestoBusiness;
 }
コード例 #2
0
 public AdminsRestoController(RestoransRepository restoransRepository, IAdminRestoRepository adminRestoRepository,
                              IUserService userService, AdminRestoService adminRestoService)
 {
     _restoransRepository  = restoransRepository;
     _adminRestoRepository = adminRestoRepository;
     UserService           = userService;
     AdminRestoService     = adminRestoService;
 }
コード例 #3
0
 public BronRestoBusiness(RestoransRepository restoransRepository, IMapper mapper, BronRestoRepository bronRestoRepository)
 {
     _restoransRepository = restoransRepository;
     MapResto             = mapper;
     _bronRestoRepository = bronRestoRepository;
 }