// GET: Invasives/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Invasive invasive = db.InvasiveSet.Find(id); if (invasive == null) { return(HttpNotFound()); } return(View(invasive)); }
public Task DeleteAsync(Invasive model) { throw new NotImplementedException(); }
public async Task UpdateAsync(Invasive model) { _context.Entry(model).State = EntityState.Modified; await _context.SaveChangesAsync(); }
public Task <Invasive> AddAsync(Invasive model) { throw new NotImplementedException(); }