// Ctor. public PatientInfoRepository(PatientInfoContext context) { _context = context; _logger = NLog.LogManager.GetCurrentClassLogger(); _logger.Log(NLog.LogLevel.Info, "PatientInfoRepository created."); }
public TestController(PatientInfoContext ctx) { _ctx = ctx; }