public subGroupController(
     ISubGroupsService subGroupService,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _subGroupService = subGroupService;
     _mapper          = mapper;
     _appSettings     = appSettings.Value;
 }
 public SubGroupsController(ISubGroupsService subGroupsService, IGenericsRepository genericsRepo)
 {
     _subGroupsService = subGroupsService;
     _genericsRepo     = genericsRepo;
 }