예제 #1
0
        public async Task DeleteAsync(Guid droneId, Guid organisationId)
        {
            if (await ExistsAsync(droneId, organisationId))
            {
                throw new GreenFieldNotFoundException();
            }

            await _repository.DeleteAsync(droneId);
        }