public void Post([FromBody] Wyaprm newLanguage) { SzamhaloContext context = new SzamhaloContext(); context.Wyaprms.Add(newLanguage); context.SaveChanges(); }
public int elso() { SzamhaloContext context = new SzamhaloContext(); int VpSzáma = context.Xsegpls.Count(); return(VpSzáma); }
public void Post([FromBody] Ax085x újIdézet) { SzamhaloContext context = new SzamhaloContext(); context.Ax085xes.Add(újIdézet); context.SaveChanges(); }
public void Post([FromBody] Fa6ybv újMadar) { SzamhaloContext context = new SzamhaloContext(); context.Fa6ybvs.Add(újMadar); context.SaveChanges(); }
public void Post([FromBody] Xsegpl újÍz) { SzamhaloContext context = new SzamhaloContext(); context.Xsegpls.Add(újÍz); context.SaveChanges(); }
public int idezetSzam() { SzamhaloContext context = new SzamhaloContext(); int idezetSzam = context.Ax085xes.Count(); return(idezetSzam); }
public void Post([FromBody] CsergoDaniel ujWhisky) { SzamhaloContext context = new SzamhaloContext(); context.CsergoDaniels.Add(ujWhisky); context.SaveChanges(); }
public void Post([FromBody] U945x9 újVicc) { SzamhaloContext context = new SzamhaloContext(); context.U945x9s.Add(újVicc); context.SaveChanges(); }
public int elso() { SzamhaloContext context = new SzamhaloContext(); int whiskyszam = context.CsergoDaniels.Count(); return(whiskyszam); }
public Fa6ybv Get(int id) { SzamhaloContext context = new SzamhaloContext(); var madar = (from x in context.Fa6ybvs where x.MadarSk == id select x).FirstOrDefault(); return(madar); }
public Wyaprm Get(int id) { SzamhaloContext context = new SzamhaloContext(); var keresettNyelv = (from x in context.Wyaprms where x.Id == id select x).FirstOrDefault(); return(keresettNyelv); }
public Ax085x Get(int id) { SzamhaloContext context = new SzamhaloContext(); var keresettIdezet = (from x in context.Ax085xes where x.IdezetSk == id select x).FirstOrDefault(); return(keresettIdezet); }
public CsergoDaniel Get(int id) { SzamhaloContext context = new SzamhaloContext(); var keresett = (from x in context.CsergoDaniels where x.Id == id select x).FirstOrDefault(); return(keresett); }
public Xsegpl Get(int id) { SzamhaloContext context = new SzamhaloContext(); var keresett = (from x in context.Xsegpls where x.VizipipadohanyId == id select x).FirstOrDefault(); return(keresett); }
public U945x9 Get(int id) { SzamhaloContext context = new SzamhaloContext(); var keresetfelhasznaló = (from x in context.U945x9s where x.NévSk == id select x).FirstOrDefault(); return(keresetfelhasznaló); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var törlendőIdézet = (from x in context.Ax085xes where x.IdezetSk == id select x).FirstOrDefault(); context.Remove(törlendőIdézet); context.SaveChanges(); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var törlendőFelhasznaló = (from x in context.U945x9s where x.NévSk == id select x).FirstOrDefault(); context.Remove(törlendőFelhasznaló); context.SaveChanges(); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var törlendőÍz = (from x in context.Xsegpls where x.VizipipadohanyId == id select x).FirstOrDefault(); context.Remove(törlendőÍz); context.SaveChanges(); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var torlendoMadar = (from x in context.Fa6ybvs where x.MadarSk == id select x).FirstOrDefault(); context.Remove(torlendoMadar); context.SaveChanges(); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var torlendo = (from x in context.CsergoDaniels where x.Id == id select x).FirstOrDefault(); context.Remove(torlendo); context.SaveChanges(); }
public void Delete(int id) { SzamhaloContext context = new SzamhaloContext(); var torlendoNyelv = (from x in context.Wyaprms where x.Id == id select x).FirstOrDefault(); context.Remove(torlendoNyelv); context.SaveChanges(); }
public IEnumerable <U945x9> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.U945x9s.ToList()); }
public IEnumerable <Ax085x> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.Ax085xes.ToList()); }
public IEnumerable <Fa6ybv> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.Fa6ybvs.ToList()); }
public IEnumerable <CsergoDaniel> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.CsergoDaniels.ToList()); }
public IEnumerable <Xsegpl> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.Xsegpls.ToList()); }
public IEnumerable <Wyaprm> Get() { SzamhaloContext context = new SzamhaloContext(); return(context.Wyaprms.ToList()); }
public ActionResult Counter() { SzamhaloContext context = new SzamhaloContext(); return(new JsonResult(context.Wyaprms.Count())); }