private static void SaveTypeTransactionReasons(ServiceReference2.StaticClient client, User usr)
        {
            //var stData = client.GetAllStaticData();
            //var stDataCat = client.GetAllCategories();
            var stDataTR = client.GetAllTypeTransactionReasons(usr.UserId);

            var reasons = new List<TypeTransactionReason>();
            reasons.Add(stDataTR[6]);

            reasons[0].Name = "abc";
            //stDataTR[11].Categories.Add(stData.TypeTransactionReasons[0].Categories[0]);
            //stDataTR[11].Categories.RemoveAt(0);
            reasons[0].Categories[1].IsDeleted = true;
            reasons[0].Categories[2].IsDeleted = true;

            //stDataTR[1].TypeTransactionReasonId = -1;
            //stDataTR[1].Categories = null;
            //reasons.Add(stDataTR[1]);

            reasons[0].ModifiedDate = DateTime.Now;
            client.SaveTypeTransactionReasons(reasons);
        }