コード例 #1
0
 public LoginController(educacional.LayerInfrastructure.AppContext context)
 {
     _loginService = new LoginService(context);
 }
コード例 #2
0
 public StudentService(educacional.LayerInfrastructure.AppContext context)
 {
     _context = context;
 }
コード例 #3
0
 public ReportController(educacional.LayerInfrastructure.AppContext context, IConfiguration configure)
 {
     _reportService = new ReportService(context, configure.GetSection("ReportPath").Value);
 }
コード例 #4
0
        //private readonly AppDbContext _context;

        public StudentController(educacional.LayerInfrastructure.AppContext context)
        {
            _studentService = new StudentService(context);
        }
コード例 #5
0
 public ReportService(educacional.LayerInfrastructure.AppContext context, string reportPath)
 {
     _context    = context;
     _reportPath = reportPath;
 }
コード例 #6
0
 public SubjectController(educacional.LayerInfrastructure.AppContext context)
 {
     _subjectService = new SubjectService(context);
 }