자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task Add(PostRecord record) { if (await _routeService.ExistByPath(record.Route.Path)) { throw new ValidationException($"路由路径 '{record.Route.Path}' 已经存在!"); } _repository.Value.Create(record); }