Exemple #1
0
        public async Task <ActionResult> CreateRepository(string name)
        {
            var user = await _auth.GetCurrentUserAsync();

            var repoRoot = await _repoManager.CreateRepositoryAsync(user.Id, name);

            return(Ok(repoRoot));
        }