/// <summary> /// Delete list of objects from database. /// </summary> /// <param name="entityList"></param> public async Task <bool> Delete(List <T> entityList) { return(await DeleteRepository.Delete(entityList)); }
/// <summary> /// Delete single object from database. /// </summary> /// <param name="entity"></param> public async Task <bool> Delete(T entity) { return(await DeleteRepository.Delete(entity)); }