Пример #1
0
        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));
        }