/// <summary> /// Adds the specified resolution. /// </summary> /// <param name="resolution">The resolution.</param> /// <returns></returns> public tbl_Resolutions Add(tbl_Resolutions resolution) { resolution.ID = Guid.NewGuid(); _dataContext.tbl_Resolutions.AddObject(resolution); _dataContext.SaveChanges(); return(resolution); }
/// <summary> /// Updates the specified resolution. /// </summary> /// <param name="resolution">The resolution.</param> public void Update(tbl_Resolutions resolution) { _dataContext.SaveChanges(); }