cenas
This commit is contained in:
parent
4896e49278
commit
5a7f68825d
|
@ -0,0 +1,7 @@
|
|||
namespace api.Controllers
|
||||
{
|
||||
public class TalksController
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -73,6 +73,7 @@ namespace api.Controllers
|
|||
[HttpPost("addRole")]
|
||||
public async Task<IActionResult> addRole( Role role) {
|
||||
|
||||
|
||||
|
||||
_roleManager.CreateAsync(role).Wait();
|
||||
|
||||
|
|
|
@ -43,6 +43,6 @@ namespace api.Data
|
|||
return await _context.SaveChangesAsync()>0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue