public LoginController(educacional.LayerInfrastructure.AppContext context) { _loginService = new LoginService(context); }
public StudentService(educacional.LayerInfrastructure.AppContext context) { _context = context; }
public ReportController(educacional.LayerInfrastructure.AppContext context, IConfiguration configure) { _reportService = new ReportService(context, configure.GetSection("ReportPath").Value); }
//private readonly AppDbContext _context; public StudentController(educacional.LayerInfrastructure.AppContext context) { _studentService = new StudentService(context); }
public ReportService(educacional.LayerInfrastructure.AppContext context, string reportPath) { _context = context; _reportPath = reportPath; }
public SubjectController(educacional.LayerInfrastructure.AppContext context) { _subjectService = new SubjectService(context); }