public bool RateClassified(int classifiedId, byte rate) { if (!_classifiedService.CheckIfActive(classifiedId)) { throw new HttpResponseException(NotFoundMessage("هذا الإعلان غير متاح")); } return(_classifiedService.RateClassified(CurrentUserId, classifiedId, rate)); }