Exemple #1
0
        public async Task DeleteAsync(Guid spaceguid)
        {
            var source = await spaceRepository.GetAsync(spaceguid);

            if (source != null)
            {
                await spaceRepository.DeleteAsync(source);
            }
        }
Exemple #2
0
 public Task Delete(int instanceId, int id)
 {
     return(_repository.DeleteAsync(id));
 }