public StudentController(IHostingEnvironment hostingEnvironment,
                          IEnrollRepositry repositry,
                          ICernterRepositry cernterRepositry,
                          IRegisterRepositry registerRepositry,
                          IAdmitCardRepositry cardRepositry
                          )
 {
     this.hostingEnvironment = hostingEnvironment;
     this.repositry          = repositry;
     this.cernterRepositry   = cernterRepositry;
     this.registerRepositry  = registerRepositry;
     this.cardRepositry      = cardRepositry;
 }
 public AdminController(IRegisterRepositry repositry, ICernterRepositry cernterRepositry, IAdmitCardRepositry admitCardRepositry)
 {
     this.repositry          = repositry;
     this.cernterRepositry   = cernterRepositry;
     this.admitCardRepositry = admitCardRepositry;
 }