This commit is contained in:
henrydays 2018-09-23 23:59:46 +01:00
parent 4896e49278
commit 5a7f68825d
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,7 @@
namespace api.Controllers
{
public class TalksController
{
}
}

View File

@ -73,6 +73,7 @@ namespace api.Controllers
[HttpPost("addRole")]
public async Task<IActionResult> addRole( Role role) {
_roleManager.CreateAsync(role).Wait();

View File

@ -43,6 +43,6 @@ namespace api.Data
return await _context.SaveChangesAsync()>0;
}
}
}