public async Task <ActionResult> Post([FromBody] TSCategory TSCategory)
        {
            string userID   = GlobalFunctions.CmdGetValueFromClaim(User.Claims, "UserID", 10);
            string userName = GlobalFunctions.CmdGetValueFromClaim(User.Claims, "UserName", 10);
            await TS.AddActivityLog(userID, "post Category", MethodBase.GetCurrentMethod());

            GlobalFunctions.CmdDecryptEntityAsymm(TSCategory);
            string a = await TS.GetNewID(TSCategory.UserID, "LastCategoryID", false);

            TSCategory.CategoryID = int.Parse(a);

            bool b = await TS.AddCategory(TSCategory);

            if (b)
            {
                await GlobalFunctions.NotifyAdmin("New category " + userName + " " + TSCategory.Name);

                return(Ok("OK"));
            }
            else
            {
                return(Ok("Error:Can't add new Category!"));
            }
        }