public async Task <IActionResult> Delete(string id)
        {
            if (String.IsNullOrEmpty(id))
            {
                return(StatusCode(400, "Invalid parameter(s)."));
            }

            //Remove debtor
            var succeeded = await _repo.Delete(id);

            if (!succeeded)
            {
                return(StatusCode(500, "A problem occured while removing the record. Please try again!"));
            }

            return(Ok("Success"));
        }