public async Task <IActionResult> DeleteAccToAccClass(string code)
        {
            var result = await Task.Run(() =>
            {
                if (string.IsNullOrWhiteSpace(code))
                {
                    return(Ok(new APIResponse()
                    {
                        status = APIStatus.FAIL.ToString(), response = $"{nameof(code)} cannot be null"
                    }));
                }

                try
                {
                    AsignmentAcctoAccClass result = GLHelper.DeleteAccToAccClass(code);
                    if (result != null)
                    {
                        return(Ok(new APIResponse()
                        {
                            status = APIStatus.PASS.ToString(), response = result
                        }));
                    }

                    return(Ok(new APIResponse()
                    {
                        status = APIStatus.FAIL.ToString(), response = "Deletion Failed."
                    }));
                }
                catch (Exception ex)
                {
                    return(Ok(new APIResponse()
                    {
                        status = APIStatus.FAIL.ToString(), response = ex.Message
                    }));
                }
            });

            return(result);
        }