/// <summary> /// Constructor /// </summary> /// <param name="logger"></param> /// <param name="context"></param> public GenderController(ILogger <GenderController> logger, ScbDbContext context) { _logger = logger; _context = context; _genderDbSet = _context.Set <Gender>(); _newBornDbSet = _context.Set <NewBorn>(); }
/// <summary> /// Constructor /// </summary> /// <param name="logger"></param> /// <param name="context"></param> public NewBornController(ILogger <NewBornController> logger, ScbDbContext context) { _logger = logger; _context = context; _newBornDbSet = _context.Set <NewBorn>(); }