예제 #1
0
        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());
        }
예제 #2
0
 public async Task Delete(T value)
 {
     await _manager.Delete(value);
 }