public void DeleteInquiryByOfferingId(int vkId, int offeringId) { if (!IsExistInquiryOnOffering(vkId, offeringId)) { return; } var inq = _inquiryRepository.GetByOfferingId(vkId, offeringId); if (inq == null) { return; } _inquiryRepository.Delete(inq.Id); }