Пример #1
0
        /// <summary>
        ///     deletes the testvalue
        /// </summary>
        /// <param name="testValueId">id of the testvalue</param>
        /// <returns>The deleted testvalue</returns>
        public TestValue Delete(Int32 testValueId)
        {
            var result = TestBll.DeleteTestValue(testValueId);

            InkoRetentionServiceHelper.UpdateRetentionAverageAndStv(result.TestSheetId);
            return(result);
        }
        /// <summary>
        ///     deletes the testvalue
        /// </summary>
        /// <param name="testValueId">id of the testvalue</param>
        /// <returns>The deleted testvalue</returns>
        public TestValue Delete(Int32 testValueId)
        {
            var result = TestBll.DeleteTestValue(testValueId);

            BabyDiaperRewetServiceHelper.UpdateRewetAverageAndStv(result.TestSheetId);
            return(result);
        }