Beispiel #1
0
        public async Task <bool> DeletePainting(int id)
        {
            if (await _repository.DeletePainting(id))
            {
                return(true);
            }

            throw new Exception();
        }
 public bool DeletePainting(int id)
 {
     return(paintingRepository.DeletePainting(id));
 }