public async Task <bool> DeleteElementByIdAsync(int elementId) { try { var status = await _repository.DeleteElementByIdAsync(elementId); return(status); } catch (OzoneException ex) { throw new OzoneException(ex.Message, ex.InnerException); } }
public async Task <bool> DeleteElementByIdAsync(int elementId) { try { var status = await _repository.DeleteElementByIdAsync(elementId); return(status); } catch (OzoneException ex) { throw new OzoneException(ex.Message, ex.InnerException); } }