Ejemplo n.º 1
0
 public ThongBaoController(IThongBaoService thongBaoService, Datacontext datacontext, IHubContext <SignalRHub> hubContext)
 {
     _thongBaoService = thongBaoService;
     _datacontext     = datacontext;
     _hubContext      = hubContext;
 }
 public HomeController(IThongBaoService thongBaoService)
 {
     this._thongBaoService = thongBaoService;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="config"></param>
 /// <param name="thongBaoService"></param>
 public ThongBaoController(IConfiguration config, IThongBaoService thongBaoService)
 {
     _config          = config;
     _thongBaoService = thongBaoService;
 }
Ejemplo n.º 4
0
 public ThongBaoController(IThongBaoService thongBaoService, IMapper mapper)
 {
     this.thongBaoService = thongBaoService;
     this.mapper          = mapper;
 }
 public ThongBaoController(ErrorService errorService, IThongBaoService thongBaoService) : base(errorService)
 {
     this._thongBaoService = thongBaoService;
 }