Esempio n. 1
0
		/// <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;
		}
Esempio n. 2
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="obj"></param>
		/// <returns></returns>
		public Stat Delete(Stat obj)
		{
			throw new NotImplementedException();
		}