public async Task <PromoResponse> DeleteAsync(int id) { var existingPromo = await _promoRepository.FindById(id); if (existingPromo == null) { return(new PromoResponse("Promo not found")); } try { _promoRepository.Remove(existingPromo); await _unitOfWork.CompleteAsync(); return(new PromoResponse(existingPromo)); } catch (Exception ex) { return(new PromoResponse($"An error ocurred while deleting Promo: {ex.Message}")); } }