public static async Task <ActionResult> Delete <T, TKey>(this Controller controller, ICRUDManager <T, TKey> manager, IEnumerable <TKey> ids) where T : class where TKey : IComparable { await manager.Delete(ids); return(controller.NoContent()); }
public async Task Delete(T value) { await _manager.Delete(value); }