public async Task <IActionResult> RemoveGitRepo([FromBody] dynamic repository) { var removeRepo = new GitHubRepo { Id = repository.repository.id }; bool result = await _service.RemoveGitRepository(removeRepo.Id); return(Ok(result)); }