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

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