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;
 }
Exemplo n.º 3
0
 public MyEntityController(IMapper mapper, IMyEntityService myEntityService)
 {
     _mapper          = mapper;
     _myEntityService = myEntityService;
 }