public UsersController(
     IUserService userService,
     IMapper mapper,
     IRoleService roleService,
     IConfiguration configuration,
     IMyEntityService es
     )
 {
     _userService   = userService;
     _mapper        = mapper;
     _roleService   = roleService;
     _configuration = configuration;
     _options       = configuration.GetSection("PublicSettings:PublicOptions").Get <PublicOptions>();
     _es            = es;
 }
 public MyEntityController(IMyEntityService myEntityService, ILogger <MyEntityController> logger)
 {
     this.myEntityService = myEntityService;
     this.logger          = logger;
 }
예제 #3
0
 public MyEntityController(IMapper mapper, IMyEntityService myEntityService)
 {
     _mapper          = mapper;
     _myEntityService = myEntityService;
 }