Exemplo n.º 1
0
 public async Task <IdentityResult> Delete(string id)
 {
     return(await _employeeManager.DeleteAsync(id));
 }
Exemplo n.º 2
0
 public IActionResult Delete(Guid id) =>
 new WebApiDelete(this, () => _manager.DeleteAsync(id),
                  operationType: OperationType.Delete, statusCode: HttpStatusCode.NoContent);