public async Task <ActionResult> Delete([FromBody] TSCategory TSCategory)
        {
            string userID   = GlobalFunctions.CmdGetValueFromClaim(User.Claims, "UserID", 10);
            string userName = GlobalFunctions.CmdGetValueFromClaim(User.Claims, "UserName", 10);

            await TS.AddActivityLog(userID, "delete Category", MethodBase.GetCurrentMethod());

            GlobalFunctions.CmdDecryptEntityAsymm(TSCategory);

            bool b = await TS.DeleteCategory(TSCategory);

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