public UnitsController(ISRepository repo) { _repo = repo; }
// private readonly IMapper _mapper; IMapper mapper public TeachersController(ISRepository repo, SContext context) { _repo = repo; _context = context; // _mapper = mapper; }