/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public Stat Add(Stat obj) { Stat stat = null; using (Entities model = new Entities()) { stat = model.Stats.Add(obj); model.SaveChanges(); } return stat; }
/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public Stat Delete(Stat obj) { throw new NotImplementedException(); }