public CommandsController(IWebApiRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebApiBusiness"/> class.
 /// </summary>
 /// <param name="_webApiRepo">The web API repo.</param>
 /// <param name="_mapper">The mapper.</param>
 public WebApiBusiness(IWebApiRepo _webApiRepo, IMapper _mapper)
 {
     webApiRepo = _webApiRepo;
     mapper     = _mapper;
 }