public async Task <object> Delete(string UID) { bool isValid = await _propertiesService.DeleteProperty(UID); _notification.SetNotificationMessage(isValid, Title, UID); return(_notification); }
public void DeleteProperty(int id) { _service.DeleteProperty(id); }