public async Task <IActionResult> Delete(int id)
        {
            var result = await _clientHelper.DeleteClient <TimeRecord>($"api/TimeRecords/{id}", ClaimsHelper.GetJwtToken(User));

            if (result != null)
            {
                return(new JsonResult(new { success = true }));
            }
            return(new JsonResult(new { success = false }));
        }