public async Task DeleteAsync(Guid spaceguid) { var source = await spaceRepository.GetAsync(spaceguid); if (source != null) { await spaceRepository.DeleteAsync(source); } }
public Task Delete(int instanceId, int id) { return(_repository.DeleteAsync(id)); }