public async Task <IHttpActionResult> DeleteApiUser(string username)
        {
            IHandleJobs repo   = new JobRepository(_username);
            var         result = await repo.DeleteApiUser(username);

            if (!result.Success)
            {
                return(Content(HttpStatusCode.BadRequest, result.Message));
            }

            var apiResult = new JobResult <SemasResult>()
            {
                SemasResult = new SemasResult <SemasResult>(result.Success, result.Message),
                _links      = new Link()
                {
                    _actions = new List <Action>()
                    {
                        CreateActionLink <AdminController>(Names.NewApiUser, c => c.NewApiUser(username, "Change this text to the apipassword", false), Names.NewApiUser),
                    }
                }
            };

            return(Ok(apiResult));
        }