Ejemplo n.º 1
0
 public Kullanici Get(int id)
 {
     using (Filesystem_ibrahimContext db = new Filesystem_ibrahimContext())
     {
         return(db.Kullanici.Single(x => x.KullaniciId == id));
     }
 }
Ejemplo n.º 2
0
 public List <Dosya> Get()
 {
     using (Filesystem_ibrahimContext db = new Filesystem_ibrahimContext())
     {
         return(db.Dosya.ToList());
     }
 }
 public EfPaylasilanlarDal()
 {
     this.db = new Filesystem_ibrahimContext();
 }
Ejemplo n.º 4
0
 public EfHomeDal()
 {
     this.db = new Filesystem_ibrahimContext();
 }
Ejemplo n.º 5
0
 public EfDosyaDal(IHostingEnvironment hostingEnvironment)
 {
     this.db = new Filesystem_ibrahimContext();
     this.hostingEnvironment = hostingEnvironment;
 }