public bool Update(Stockpile model) { var dal = model.ToDAL(); try { _db.Stockpile.Update(dal); _db.SaveChanges(); return(true); } catch (Exception e) { return(false); } }
public bool Delete(Stockpile model) { throw new NotImplementedException(); }
public Stockpile Create(Stockpile model) { throw new NotImplementedException(); }